<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Compagnie Durable du Bois au Gabon - Exploitation Forestière Responsable</title>
<meta name="description" content="Compagnie Durable du Bois au Gabon - Exploitation
forestière responsable à Bitam. Spécialiste en bois tropicaux : Okoumé, Azobé, Kevazingo,
Padouk, Ebène. Partenariats et collaborations.">
<meta name="keywords" content="exploitation forestière, Gabon, Bitam, bois tropical,
Okoumé, Azobé, Kevazingo, Padouk, Ebène, développement durable">
<meta name="author" content="Compagnie Durable du Bois au Gabon">
<meta name="robots" content="index, follow">
<meta name="language" content="French">
<meta name="geo.region" content="GA">
<meta name="geo.placename" content="Bitam, Gabon">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://cdbg-gabon.com/">
<meta property="og:title" content="Compagnie Durable du Bois au Gabon - Exploitation
Forestière Responsable">
<meta property="og:description" content="Exploitation forestière responsable à Bitam.
Spécialiste en bois tropicaux : Okoumé, Azobé, Kevazingo, Padouk, Ebène. Partenariats et
collaborations.">
<meta property="og:image" content="forest_hero.jpg">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://cdbg-gabon.com/">
<meta property="twitter:title" content="Compagnie Durable du Bois au Gabon - Exploitation
Forestière Responsable">
<meta property="twitter:description" content="Exploitation forestière responsable à Bitam.
Spécialiste en bois tropicaux : Okoumé, Azobé, Kevazingo, Padouk, Ebène.">
<meta property="twitter:image" content="forest_hero.jpg">
<!-- Canonical URL -->
<link rel="canonical" href="https://cdbg-gabon.com/">
<!-- Favicon -->
<link rel="icon" type="image/png" href="logo.png">
<link rel="stylesheet" href="styles.css">
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=
swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-
awesome/6.0.0/css/all.min.css">
<!-- JSON-LD Structured Data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Compagnie Durable du Bois au Gabon",
"alternateName": "CDBG",
"url": "https://cdbg-gabon.com",
"logo": "https://cdbg-gabon.com/logo.png",
"description": "Exploitation forestière responsable à Bitam, Gabon. Spécialiste en bois
tropicaux et développement durable.",
"address": {
"@type": "PostalAddress",
"streetAddress": "Rue Sobraga",
"addressLocality": "Libreville",
"addressCountry": "GA",
"postalCode": "BP 4447"
},
"contactPoint": {
"@type": "ContactPoint",
"telephone": "+241-77-25-9169",
"contactType": "customer service",
"email": "cdbg.gabon@gmail.com"
},
"sameAs": [
],
"foundingLocation": {
"@type": "Place",
"name": "Bitam, Gabon"
},
"areaServed": "Gabon",
"knowsAbout": [
"Exploitation forestière",
"Bois tropical",
"Développement durable",
"Okoumé",
"Azobé",
"Kevazingo"
]
}</script>
</head>
<body>
<!-- Header -->
<header class="header">
<nav class="navbar">
<div class="nav-container">
<div class="nav-logo">
<img src="logo.png" alt="CDBG Logo" class="logo-img">
<span class="logo-text">CDBG</span>
</div>
<ul class="nav-menu">
<li class="nav-item">
<a href="#accueil" class="nav-link">Accueil</a>
</li>
<li class="nav-item">
<a href="#apropos" class="nav-link">À propos</a>
</li>
<li class="nav-item">
<a href="#services" class="nav-link">Services</a>
</li>
<li class="nav-item">
<a href="#partenariats" class="nav-link">Partenariats</a>
</li>
<li class="nav-item">
<a href="#contact" class="nav-link">Contact</a>
</li>
</ul>
<div class="hamburger">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</div>
</div>
</nav>
</header>
<!-- Hero Section -->
<section id="accueil" class="hero">
<div class="hero-background">
<img src="forest_hero.jpg" alt="Forêt gabonaise" class="hero-bg-img">
</div>
<div class="hero-content">
<div class="hero-text">
<h1 class="hero-title">Compagnie Durable du Bois au Gabon</h1>
<h2 class="hero-subtitle">Exploitation Forestière Responsable</h2>
<p class="hero-description">Garantir aux générations futures une forêt préservée tout en
valorisant le patrimoine forestier gabonais</p>
<div class="hero-buttons">
<a href="#apropos" class="btn btn-primary">Découvrir notre mission</a>
<a href="#contact" class="btn btn-secondary">Nous contacter</a>
</div>
</div>
</div>
<div class="hero-scroll">
<span>Découvrir</span>
<i class="fas fa-chevron-down"></i>
</div>
</section>
<!-- Bitam Section -->
<section class="bitam-section">
<div class="container">
<div class="bitam-content">
<div class="bitam-image">
<img src="bitam_panneau.jpg" alt="Panneau d'entrée de Bitam" class="bitam-img">
</div>
<div class="bitam-text">
<h3>Implantés à Bitam</h3>
<p>Située au nord du Gabon, Bitam est le cœur de nos opérations forestières. Cette région
riche en biodiversité nous permet de développer une exploitation durable sur 10 000 hectares
de propriété privée.</p>
</div>
</div>
</div>
</section>
<!-- About Section -->
<section id="apropos" class="about">
<div class="container">
<div class="section-header">
<h2 class="section-title">À propos de nous</h2>
<p class="section-subtitle">Une expertise au service de la forêt gabonaise</p>
</div>
<div class="about-grid">
<div class="about-card">
<div class="card-icon">
<i class="fas fa-tree"></i>
</div>
<h3>10 000 hectares</h3>
<p>de propriété privée gérée de manière durable à Bitam, au nord du Gabon</p>
</div>
<div class="about-card">
<div class="card-icon">
<i class="fas fa-leaf"></i>
</div>
<h3>Bois tropicaux</h3>
<p>Sélection et commercialisation d'essences nobles : Okoumé, Azobé, Kevazingo, Padouk,
Ebène, Moabi, Tali, Iroko, Movingui, Bilinga</p>
</div>
<div class="about-card">
<div class="card-icon">
<i class="fas fa-users"></i>
</div>
<h3>Emploi local</h3>
<p>Développement d'une activité de sciage avec la main-d'œuvre locale pour favoriser
l'économie de Bitam</p>
</div>
</div>
<div class="about-mission">
<h3>Notre ambition</h3>
<p>Maîtriser toute la chaîne de valeur du bois gabonais, de la forêt jusqu'à l'exportation
internationale, en combinant efficacité économique, impact social positif, et respect profond
de l'environnement.</p>
</div>
</div>
</section>
<!-- Services Section -->
<section id="services" class="services">
<div class="container">
<div class="section-header">
<h2 class="section-title">Nos services</h2>
<p class="section-subtitle">Une chaîne de valeur complète</p>
</div>
<div class="services-grid">
<div class="service-card">
<div class="service-icon">
<i class="fas fa-cut"></i>
</div>
<h3>Abattage</h3>
<p>Techniques d'abattage respectueuses de l'environnement et de la biodiversité</p>
</div>
<div class="service-card">
<div class="service-icon">
<i class="fas fa-industry"></i>
</div>
<h3>Sciage</h3>
<p>Transformation primaire avec équipements modernes et main-d'œuvre qualifiée</p>
</div>
<div class="service-card">
<div class="service-icon">
<i class="fas fa-truck"></i>
</div>
<h3>Logistique</h3>
<p>Transport et logistique adaptés aux contraintes du marché national</p>
</div>
</div>
</div>
</section>
<!-- Gallery Section -->
<section id="gallery" class="gallery">
<div class="container">
<div class="section-header">
<h2 class="section-title">Notre Galerie</h2>
<p class="section-subtitle">Découvrez nos produits et notre savoir-faire en images</p>
</div>
<div class="gallery-grid">
<div class="gallery-item">
<img src="./product_images/grumes_generiques.jpg" alt="Tronc d'arbre">
<h3>Grumes de bois</h3>
<p>Sélectionnées avec soin</p>
</div>
<div class="gallery-item">
<img src="./product_images/planches_generiques.jpg" alt="Planches de bois">
<h3>Planches de bois</h3>
<p>Produits de qualité</p>
</div>
</div>
</div>
</section>
<!-- Engagements Section -->
<section class="commitments">
<div class="container">
<div class="section-header">
<h2 class="section-title">Nos engagements</h2>
<p class="section-subtitle">🌱 Préserver la forêt, valoriser le bois, soutenir les
communautés</p>
</div>
<div class="elephant-image">
<img src="./wildlife_images/elephant_forest.jpg" alt="Éléphant des forêts du Gabon">
</div>
</div>
<div class="commitments-content">
<div class="commitment-item">
<div class="commitment-icon">
<i class="fas fa-seedling"></i>
</div>
<div class="commitment-text">
<h3>Respect de l'environnement</h3>
<p>Notre projet place l'écologie, la faune et la flore au cœur de chaque action, pour une
exploitation forestière responsable, durable et engagée.</p>
</div>
</div>
<div class="commitment-item">
<div class="commitment-icon">
<i class="fas fa-handshake"></i>
</div>
<div class="commitment-text">
<h3>Développement socio-économique</h3>
<p>La création d'emploi locale et le développement socio-économique de la population de la
région de Bitam sont au cœur de nos préoccupations.</p>
</div>
</div>
<div class="commitment-item">
<div class="commitment-icon">
<i class="fas fa-link"></i>
</div>
<div class="commitment-text">
<h3>Maîtrise de la chaîne</h3>
<p>Notre ambition est le contrôle de toute la chaîne du bois de la forêt à l'exportation
internationale.</p>
</div>
</div>
</div>
</div></section>
<!-- Partnerships Section -->
<section id="partenariats" class="partnerships">
<div class="container">
<div class="section-header">
<h2 class="section-title">Collaborations et Partenariats</h2>
<p class="section-subtitle">Ouverts à toutes les opportunités</p>
</div>
<div class="partnership-content">
<p>Notre compagnie est ouverte à toute demande de collaboration et de partenariat dans les
domaines suivants :</p>
<div class="partnership-areas">
<div class="area-tag">Abattage</div>
<div class="area-tag">Sciage</div>
<div class="area-tag">Logistique et transport</div>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="contact">
<div class="container">
<div class="section-header">
<h2 class="section-title">Contact</h2>
<p class="section-subtitle">Contactez-nous pour vos projets</p>
</div>
<div class="contact-content">
<div class="contact-form">
<h3>Envoyez-nous un message</h3>
<form action="#" method="POST">
<div class="form-group">
<label for="name">Nom</label>
<input type="text" id="name" name="name" required>
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" id="email" name="email" required>
</div>
<div class="form-group">
<label for="subject">Sujet</label>
<input type="text" id="subject" name="subject">
</div>
<div class="form-group">
<label for="message">Message</label>
<textarea id="message" name="message" rows="5" required></textarea>
</div>
<button type="submit" class="btn btn-primary">Envoyer le message</button>
</form>
</div>
<div class="contact-info small-text">
<div class="contact-item">
<div class="contact-icon">
<i class="fas fa-map-marker-alt"></i>
</div>
<div class="contact-text">
<h3>Adresse</h3>
<p>
Rue Sobraga, Libreville, Gabon<br>BP 4447
</p>
</div>
</div>
<div class="contact-item">
<div class="contact-icon">
<i class="fas fa-envelope"></i>
</div>
<div class="contact-text">
<h3>Email</h3>
<p>
<a href="mailto:cdbg.gabon@gmail.com">cdbg.gabon@gmail.com</a>
</p>
</div>
</div>
<div class="contact-item">
<div class="contact-icon">
<i class="fas fa-phone"></i>
</div>
<div class="contact-text">
<h3>Téléphone</h3>
<p>+241 77 25 9169</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<div class="container">
<div class="footer-content">
<div class="footer-section">
<h3>Compagnie Durable du Bois au Gabon</h3>
<p>Exploitation forestière responsable pour un avenir durable</p>
</div>
<div class="footer-section">
<h4>Services</h4>
<ul>
<li>
<a href="#services">Abattage</a>
</li>
<li>
<a href="#services">Sciage</a>
</li>
<li>
<a href="#services">Logistique</a>
</li>
<li>
<a href="#services">Exportation</a>
</li>
</ul>
</div>
<div class="footer-section">
<h4>Contact</h4>
<ul>
<li>Libreville, Gabon</li>
<li>+241 77 25 9169</li>
<li>cdbg.gabon@gmail.com</li>
</ul>
</div>
</div>
<div class="footer-bottom">
<p>&copy;2025 Compagnie Durable du Bois au Gabon. Tous droits réservés.</p>
</div>
</div>
</footer>
<script src="script.js"></script>
<script>
(function() {
"use strict";
var li = {
exports: {}
}
, Ba = {};
/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Go;
function gh() {
if (Go)
return Ba;
Go = 1;
var i = Symbol.for("react.transitional.element")
, f = Symbol.for("react.fragment");
function s(o, h, y) {
var p = null;
if (y !== void 0 && (p = "" + y),
h.key !== void 0 && (p = "" + h.key),
"key"in h) {
y = {};
for (var S in h)
S !== "key" && (y[S] = h[S])
} else
y = h;
return h = y.ref,
{
$$typeof: i,
type: o,
key: p,
ref: h !== void 0 ? h : null,
props: y
}
}
return Ba.Fragment = f,
Ba.jsx = s,
Ba.jsxs = s,
Ba
}
var jo;
function yh() {
return jo || (jo = 1,
li.exports = gh()),
li.exports
}
var Ce = yh()
, ai = {
exports: {}
}
, ka = {}
, ni = {
exports: {}
}
, ui = {};
/**
* @license React
* scheduler.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Lo;
function ph() {
return Lo || (Lo = 1,
function(i) {
function f(z, H) {
var U = z.length;
z.push(H);
t: for (; 0 < U; ) {
var yt = U - 1 >>> 1
, m = z[yt];
if (0 < h(m, H))
z[yt] = H,
z[U] = m,
U = yt;
else
break t
}
}
function s(z) {
return z.length === 0 ? null : z[0]
}
function o(z) {
if (z.length === 0)
return null;
var H = z[0]
, U = z.pop();
if (U !== H) {
z[0] = U;
t: for (var yt = 0, m = z.length, O = m >>> 1; yt < O; ) {
var k = 2 * (yt + 1) - 1
, N = z[k]
, j = k + 1
, lt = z[j];
if (0 > h(N, U))
j < m && 0 > h(lt, N) ? (z[yt] = lt,
z[j] = U,
yt = j) : (z[yt] = N,
z[k] = U,
yt = k);
else if (j < m && 0 > h(lt, U))
z[yt] = lt,
z[j] = U,
yt = j;
else
break t
}
}
return H
}
function h(z, H) {
var U = z.sortIndex - H.sortIndex;
return U !== 0 ? U : z.id - H.id
}
if (i.unstable_now = void 0,
typeof performance == "object" && typeof performance.now == "function") {
var y = performance;
i.unstable_now = function() {
return y.now()
}
} else {
var p = Date
, S = p.now();
i.unstable_now = function() {
return p.now() - S
}
}
var g = []
, b = []
, M = 1
, _ = null
, q = 3
, G = !1
, Y = !1
, K = !1
, V = !1
, $ = typeof setTimeout == "function" ? setTimeout : null
, gt = typeof clearTimeout == "function" ? clearTimeout : null
, nt = typeof setImmediate < "u" ? setImmediate : null;
function ht(z) {
for (var H = s(b); H !== null; ) {
if (H.callback === null)
o(b);
else if (H.startTime <= z)
o(b),
H.sortIndex = H.expirationTime,
f(g, H);
else
break;
H = s(b)
}
}
function W(z) {
if (K = !1,
ht(z),
!Y)
if (s(g) !== null)
Y = !0,
P || (P = !0,
bt());
else {
var H = s(b);
H !== null && ct(W, H.startTime - z)
}
}
var P = !1
, zt = -1
, Z = 5
, Mt = -1;
function ee() {
return V ? !0 : !(i.unstable_now() - Mt < Z)
}
function $t() {
if (V = !1,
P) {
var z = i.unstable_now();
Mt = z;
var H = !0;
try {
t: {
Y = !1,
K && (K = !1,
gt(zt),
zt = -1),
G = !0;
var U = q;
try {
e: {
for (ht(z),
_ = s(g); _ !== null && !(_.expirationTime > z && ee()); ) {
var yt = _.callback;
if (typeof yt == "function") {
_.callback = null,
q = _.priorityLevel;
var m = yt(_.expirationTime <= z);
if (z = i.unstable_now(),
typeof m == "function") {
_.callback = m,
ht(z),
H = !0;
break e
}
_ === s(g) && o(g),
ht(z)
} else
o(g);
_ = s(g)
}
if (_ !== null)
H = !0;
else {
var O = s(b);
O !== null && ct(W, O.startTime - z),
H = !1
}
}
break t
} finally {
_ = null,
q = U,
G = !1
}
H = void 0
}
} finally {
H ? bt() : P = !1
}
}
}
var bt;
if (typeof nt == "function")
bt = function() {
nt($t)
}
;
else if (typeof MessageChannel < "u") {
var It = new MessageChannel
, le = It.port2;
It.port1.onmessage = $t,
bt = function() {
le.postMessage(null)
}
} else
bt = function() {
$($t, 0)
}
;
function ct(z, H) {
zt = $(function() {
z(i.unstable_now())
}, H)
}
i.unstable_IdlePriority = 5,
i.unstable_ImmediatePriority = 1,
i.unstable_LowPriority = 4,
i.unstable_NormalPriority = 3,
i.unstable_Profiling = null,
i.unstable_UserBlockingPriority = 2,
i.unstable_cancelCallback = function(z) {
z.callback = null
}
,
i.unstable_forceFrameRate = function(z) {
0 > z || 125 < z ? console.error("forceFrameRate takes a positive int between 0 and 125,
forcing frame rates higher than 125 fps is not supported") : Z = 0 < z ? Math.floor(1e3 / z) : 5
}
,
i.unstable_getCurrentPriorityLevel = function() {
return q
}
,
i.unstable_next = function(z) {
switch (q) {
case 1:
case 2:
case 3:
var H = 3;
break;
default:
H = q
}
var U = q;
q = H;
try {
return z()
} finally {
q = U
}
}
,
i.unstable_requestPaint = function() {
V = !0
}
,
i.unstable_runWithPriority = function(z, H) {
switch (z) {
case 1:
case 2:
case 3:
case 4:
case 5:
break;
default:
z = 3
}
var U = q;
q = z;
try {
return H()
} finally {
q = U
}
}
,
i.unstable_scheduleCallback = function(z, H, U) {
var yt = i.unstable_now();
switch (typeof U == "object" && U !== null ? (U = U.delay,
U = typeof U == "number" && 0 < U ? yt + U : yt) : U = yt,
z) {
case 1:
var m = -1;
break;
case 2:
m = 250;
break;
case 5:
m = 1073741823;
break;
case 4:
m = 1e4;
break;
default:
m = 5e3
}
return m = U + m,
z = {
id: M++,
callback: H,
priorityLevel: z,
startTime: U,
expirationTime: m,
sortIndex: -1
},
U > yt ? (z.sortIndex = U,
f(b, z),
s(g) === null && z === s(b) && (K ? (gt(zt),
zt = -1) : K = !0,
ct(W, U - yt))) : (z.sortIndex = m,
f(g, z),
Y || G || (Y = !0,
P || (P = !0,
bt()))),
z
}
,
i.unstable_shouldYield = ee,
i.unstable_wrapCallback = function(z) {
var H = q;
return function() {
var U = q;
q = H;
try {
return z.apply(this, arguments)
} finally {
q = U
}
}
}
}(ui)),
ui
}
var Xo;
function bh() {
return Xo || (Xo = 1,
ni.exports = ph()),
ni.exports
}
var ii = {
exports: {}
}
, at = {};
/**
* @license React
* react.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Qo;
function vh() {
if (Qo)
return at;
Qo = 1;
var i = Symbol.for("react.transitional.element")
, f = Symbol.for("react.portal")
, s = Symbol.for("react.fragment")
, o = Symbol.for("react.strict_mode")
, h = Symbol.for("react.profiler")
, y = Symbol.for("react.consumer")
, p = Symbol.for("react.context")
, S = Symbol.for("react.forward_ref")
, g = Symbol.for("react.suspense")
, b = Symbol.for("react.memo")
, M = Symbol.for("react.lazy")
, _ = Symbol.iterator;
function q(m) {
return m === null || typeof m != "object" ? null : (m = _ && m[_] || m["@@iterator"],
typeof m == "function" ? m : null)
}
var G = {
isMounted: function() {
return !1
},
enqueueForceUpdate: function() {},
enqueueReplaceState: function() {},
enqueueSetState: function() {}
}
, Y = Object.assign
, K = {};
function V(m, O, k) {
this.props = m,
this.context = O,
this.refs = K,
this.updater = k || G
}
V.prototype.isReactComponent = {},
V.prototype.setState = function(m, O) {
if (typeof m != "object" && typeof m != "function" && m != null)
throw Error("takes an object of state variables to update or a function which returns an object
of state variables.");
this.updater.enqueueSetState(this, m, O, "setState")
}
,
V.prototype.forceUpdate = function(m) {
this.updater.enqueueForceUpdate(this, m, "forceUpdate")
}
;
function $() {}
$.prototype = V.prototype;
function gt(m, O, k) {
this.props = m,
this.context = O,
this.refs = K,
this.updater = k || G
}
var nt = gt.prototype = new $;
nt.constructor = gt,
Y(nt, V.prototype),
nt.isPureReactComponent = !0;
var ht = Array.isArray
, W = {
H: null,
A: null,
T: null,
S: null,
V: null
}
, P = Object.prototype.hasOwnProperty;
function zt(m, O, k, N, j, lt) {
return k = lt.ref,
{
$$typeof: i,
type: m,
key: O,
ref: k !== void 0 ? k : null,
props: lt
}
}
function Z(m, O) {
return zt(m.type, O, void 0, void 0, void 0, m.props)
}
function Mt(m) {
return typeof m == "object" && m !== null && m.$$typeof === i
}
function ee(m) {
var O = {
"=": "=0",
":": "=2"
};
return "$" + m.replace(/[=:]/g, function(k) {
return O[k]
})
}
var $t = /\/+/g;
function bt(m, O) {
return typeof m == "object" && m !== null && m.key != null ? ee("" + m.key) :
O.toString(36)
}
function It() {}
function le(m) {
switch (m.status) {
case "fulfilled":
return m.value;
case "rejected":
throw m.reason;
default:
switch (typeof m.status == "string" ? m.then(It, It) : (m.status = "pending",
m.then(function(O) {
m.status === "pending" && (m.status = "fulfilled",
m.value = O)
}, function(O) {
m.status === "pending" && (m.status = "rejected",
m.reason = O)
})),
m.status) {
case "fulfilled":
return m.value;
case "rejected":
throw m.reason
}
}
throw m
}
function ct(m, O, k, N, j) {
var lt = typeof m;
(lt === "undefined" || lt === "boolean") && (m = null);
var tt = !1;
if (m === null)
tt = !0;
else
switch (lt) {
case "bigint":
case "string":
case "number":
tt = !0;
break;
case "object":
switch (m.$$typeof) {
case i:
case f:
tt = !0;
break;
case M:
return tt = m._init,
ct(tt(m._payload), O, k, N, j)
}
}
if (tt)
return j = j(m),
tt = N === "" ? "." + bt(m, 0) : N,
ht(j) ? (k = "",
tt != null && (k = tt.replace($t, "$&/") + "/"),
ct(j, O, k, "", function(Pt) {
return Pt
})) : j != null && (Mt(j) && (j = Z(j, k + (j.key == null || m && m.key === j.key ? "" : ("" +
j.key).replace($t, "$&/") + "/") + tt)),
O.push(j)),
1;
tt = 0;
var rt = N === "" ? "." : N + ":";
if (ht(m))
for (var vt = 0; vt < m.length; vt++)
N = m[vt],
lt = rt + bt(N, vt),
tt += ct(N, O, k, lt, j);
else if (vt = q(m),
typeof vt == "function")
for (m = vt.call(m),
vt = 0; !(N = m.next()).done; )
N = N.value,
lt = rt + bt(N, vt++),
tt += ct(N, O, k, lt, j);
else if (lt === "object") {
if (typeof m.then == "function")
return ct(le(m), O, k, N, j);
throw O = String(m),
Error("Objects are not valid as a React child (found: " + (O === "[object Object]" ? "object
with keys {" + Object.keys(m).join(", ") + "}" : O) + "). If you meant to render a collection of
children, use an array instead.")
}
return tt
}
function z(m, O, k) {
if (m == null)
return m;
var N = []
, j = 0;
return ct(m, N, "", "", function(lt) {
return O.call(k, lt, j++)
}),
N
}
function H(m) {
if (m._status === -1) {
var O = m._result;
O = O(),
O.then(function(k) {
(m._status === 0 || m._status === -1) && (m._status = 1,
m._result = k)
}, function(k) {
(m._status === 0 || m._status === -1) && (m._status = 2,
m._result = k)
}),
m._status === -1 && (m._status = 0,
m._result = O)
}
if (m._status === 1)
return m._result.default;
throw m._result
}
var U = typeof reportError == "function" ? reportError : function(m) {
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
var O = new window.ErrorEvent("error",{
bubbles: !0,
cancelable: !0,
message: typeof m == "object" && m !== null && typeof m.message == "string" ?
String(m.message) : String(m),
error: m
});
if (!window.dispatchEvent(O))
return
} else if (typeof process == "object" && typeof process.emit == "function") {
process.emit("uncaughtException", m);
return
}
console.error(m)
}
;
function yt() {}
return at.Children = {
map: z,
forEach: function(m, O, k) {
z(m, function() {
O.apply(this, arguments)
}, k)
},
count: function(m) {
var O = 0;
return z(m, function() {
O++
}),
O
},
toArray: function(m) {
return z(m, function(O) {
return O
}) || []
},
only: function(m) {
if (!Mt(m))
throw Error("React.Children.only expected to receive a single React element child.");
return m
}
},
at.Component = V,
at.Fragment = s,
at.Profiler = h,
at.PureComponent = gt,
at.StrictMode = o,
at.Suspense = g,
at.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UP
GRADE = W,
at.__COMPILER_RUNTIME = {
__proto__: null,
c: function(m) {
return W.H.useMemoCache(m)
}
},
at.cache = function(m) {
return function() {
return m.apply(null, arguments)
}
}
,
at.cloneElement = function(m, O, k) {
if (m == null)
throw Error("The argument must be a React element, but you passed " + m + ".");
var N = Y({}, m.props)
, j = m.key
, lt = void 0;
if (O != null)
for (tt in O.ref !== void 0 && (lt = void 0),
O.key !== void 0 && (j = "" + O.key),
O)
!P.call(O, tt) || tt === "key" || tt === "__self" || tt === "__source" || tt === "ref" && O.ref ===
void 0 || (N[tt] = O[tt]);
var tt = arguments.length - 2;
if (tt === 1)
N.children = k;
else if (1 < tt) {
for (var rt = Array(tt), vt = 0; vt < tt; vt++)
rt[vt] = arguments[vt + 2];
N.children = rt
}
return zt(m.type, j, void 0, void 0, lt, N)
}
,
at.createContext = function(m) {
return m = {
$$typeof: p,
_currentValue: m,
_currentValue2: m,
_threadCount: 0,
Provider: null,
Consumer: null
},
m.Provider = m,
m.Consumer = {
$$typeof: y,
_context: m
},
m
}
,
at.createElement = function(m, O, k) {
var N, j = {}, lt = null;
if (O != null)
for (N in O.key !== void 0 && (lt = "" + O.key),
O)
P.call(O, N) && N !== "key" && N !== "__self" && N !== "__source" && (j[N] = O[N]);
var tt = arguments.length - 2;
if (tt === 1)
j.children = k;
else if (1 < tt) {
for (var rt = Array(tt), vt = 0; vt < tt; vt++)
rt[vt] = arguments[vt + 2];
j.children = rt
}
if (m && m.defaultProps)
for (N in tt = m.defaultProps,
tt)
j[N] === void 0 && (j[N] = tt[N]);
return zt(m, lt, void 0, void 0, null, j)
}
,
at.createRef = function() {
return {
current: null
}
}
,
at.forwardRef = function(m) {
return {
$$typeof: S,
render: m
}
}
,
at.isValidElement = Mt,
at.lazy = function(m) {
return {
$$typeof: M,
_payload: {
_status: -1,
_result: m
},
_init: H
}
}
,
at.memo = function(m, O) {
return {
$$typeof: b,
type: m,
compare: O === void 0 ? null : O
}
}
,
at.startTransition = function(m) {
var O = W.T
, k = {};
W.T = k;
try {
var N = m()
, j = W.S;
j !== null && j(k, N),
typeof N == "object" && N !== null && typeof N.then == "function" && N.then(yt, U)
} catch (lt) {
U(lt)
} finally {
W.T = O
}
}
,
at.unstable_useCacheRefresh = function() {
return W.H.useCacheRefresh()
}
,
at.use = function(m) {
return W.H.use(m)
}
,
at.useActionState = function(m, O, k) {
return W.H.useActionState(m, O, k)
}
,
at.useCallback = function(m, O) {
return W.H.useCallback(m, O)
}
,
at.useContext = function(m) {
return W.H.useContext(m)
}
,
at.useDebugValue = function() {}
,
at.useDeferredValue = function(m, O) {
return W.H.useDeferredValue(m, O)
}
,
at.useEffect = function(m, O, k) {
var N = W.H;
if (typeof k == "function")
throw Error("useEffect CRUD overload is not enabled in this build of React.");
return N.useEffect(m, O)
}
,
at.useId = function() {
return W.H.useId()
}
,
at.useImperativeHandle = function(m, O, k) {
return W.H.useImperativeHandle(m, O, k)
}
,
at.useInsertionEffect = function(m, O) {
return W.H.useInsertionEffect(m, O)
}
,
at.useLayoutEffect = function(m, O) {
return W.H.useLayoutEffect(m, O)
}
,
at.useMemo = function(m, O) {
return W.H.useMemo(m, O)
}
,
at.useOptimistic = function(m, O) {
return W.H.useOptimistic(m, O)
}
,
at.useReducer = function(m, O, k) {
return W.H.useReducer(m, O, k)
}
,
at.useRef = function(m) {
return W.H.useRef(m)
}
,
at.useState = function(m) {
return W.H.useState(m)
}
,
at.useSyncExternalStore = function(m, O, k) {
return W.H.useSyncExternalStore(m, O, k)
}
,
at.useTransition = function() {
return W.H.useTransition()
}
,
at.version = "19.1.1",
at
}
var Vo;
function ci() {
return Vo || (Vo = 1,
ii.exports = vh()),
ii.exports
}
var oi = {
exports: {}
}
, Jt = {};
/**
* @license React
* react-dom.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Zo;
function Sh() {
if (Zo)
return Jt;
Zo = 1;
var i = ci();
function f(g) {
var b = "https://react.dev/errors/" + g;
if (1 < arguments.length) {
b += "?args[]=" + encodeURIComponent(arguments[1]);
for (var M = 2; M < arguments.length; M++)
b += "&args[]=" + encodeURIComponent(arguments[M])
}
return "Minified React error #" + g + "; visit " + b + " for the full message or use the non-
minified dev environment for full errors and additional helpful warnings."
}
function s() {}
var o = {
d: {
f: s,
r: function() {
throw Error(f(522))
},
D: s,
C: s,
L: s,
m: s,
X: s,
S: s,
M: s
},
p: 0,
findDOMNode: null
}
, h = Symbol.for("react.portal");
function y(g, b, M) {
var _ = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
return {
$$typeof: h,
key: _ == null ? null : "" + _,
children: g,
containerInfo: b,
implementation: M
}
}
var p =
i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPG
RADE;
function S(g, b) {
if (g === "font")
return "";
if (typeof b == "string")
return b === "use-credentials" ? b : ""
}
return
Jt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGR
ADE = o,
Jt.createPortal = function(g, b) {
var M = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
if (!b || b.nodeType !== 1 && b.nodeType !== 9 && b.nodeType !== 11)
throw Error(f(299));
return y(g, b, null, M)
}
,
Jt.flushSync = function(g) {
var b = p.T
, M = o.p;
try {
if (p.T = null,
o.p = 2,
g)
return g()
} finally {
p.T = b,
o.p = M,
o.d.f()
}
}
,
Jt.preconnect = function(g, b) {
typeof g == "string" && (b ? (b = b.crossOrigin,
b = typeof b == "string" ? b === "use-credentials" ? b : "" : void 0) : b = null,
o.d.C(g, b))
}
,
Jt.prefetchDNS = function(g) {
typeof g == "string" && o.d.D(g)
}
,
Jt.preinit = function(g, b) {
if (typeof g == "string" && b && typeof b.as == "string") {
var M = b.as
, _ = S(M, b.crossOrigin)
, q = typeof b.integrity == "string" ? b.integrity : void 0
, G = typeof b.fetchPriority == "string" ? b.fetchPriority : void 0;
M === "style" ? o.d.S(g, typeof b.precedence == "string" ? b.precedence : void 0, {
crossOrigin: _,
integrity: q,
fetchPriority: G
}) : M === "script" && o.d.X(g, {
crossOrigin: _,
integrity: q,
fetchPriority: G,
nonce: typeof b.nonce == "string" ? b.nonce : void 0
})
}
}
,
Jt.preinitModule = function(g, b) {
if (typeof g == "string")
if (typeof b == "object" && b !== null) {
if (b.as == null || b.as === "script") {
var M = S(b.as, b.crossOrigin);
o.d.M(g, {
crossOrigin: M,
integrity: typeof b.integrity == "string" ? b.integrity : void 0,
nonce: typeof b.nonce == "string" ? b.nonce : void 0
})
}
} else
b == null && o.d.M(g)
}
,
Jt.preload = function(g, b) {
if (typeof g == "string" && typeof b == "object" && b !== null && typeof b.as == "string") {
var M = b.as
, _ = S(M, b.crossOrigin);
o.d.L(g, M, {
crossOrigin: _,
integrity: typeof b.integrity == "string" ? b.integrity : void 0,
nonce: typeof b.nonce == "string" ? b.nonce : void 0,
type: typeof b.type == "string" ? b.type : void 0,
fetchPriority: typeof b.fetchPriority == "string" ? b.fetchPriority : void 0,
referrerPolicy: typeof b.referrerPolicy == "string" ? b.referrerPolicy : void 0,
imageSrcSet: typeof b.imageSrcSet == "string" ? b.imageSrcSet : void 0,
imageSizes: typeof b.imageSizes == "string" ? b.imageSizes : void 0,
media: typeof b.media == "string" ? b.media : void 0
})
}
}
,
Jt.preloadModule = function(g, b) {
if (typeof g == "string")
if (b) {
var M = S(b.as, b.crossOrigin);
o.d.m(g, {
as: typeof b.as == "string" && b.as !== "script" ? b.as : void 0,
crossOrigin: M,
integrity: typeof b.integrity == "string" ? b.integrity : void 0
})
} else
o.d.m(g)
}
,
Jt.requestFormReset = function(g) {
o.d.r(g)
}
,
Jt.unstable_batchedUpdates = function(g, b) {
return g(b)
}
,
Jt.useFormState = function(g, b, M) {
return p.H.useFormState(g, b, M)
}
,
Jt.useFormStatus = function() {
return p.H.useHostTransitionStatus()
}
,
Jt.version = "19.1.1",
Jt
}
var Ko;
function wh() {
if (Ko)
return oi.exports;
Ko = 1;
function i() {
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"))
try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)
} catch (f) {
console.error(f)
}
}
return i(),
oi.exports = Sh(),
oi.exports
}
/**
* @license React
* react-dom-client.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Jo;
function xh() {
if (Jo)
return ka;
Jo = 1;
var i = bh()
, f = ci()
, s = wh();
function o(t) {
var e = "https://react.dev/errors/" + t;
if (1 < arguments.length) {
e += "?args[]=" + encodeURIComponent(arguments[1]);
for (var l = 2; l < arguments.length; l++)
e += "&args[]=" + encodeURIComponent(arguments[l])
}
return "Minified React error #" + t + "; visit " + e + " for the full message or use the non-
minified dev environment for full errors and additional helpful warnings."
}
function h(t) {
return !(!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11)
}
function y(t) {
var e = t
, l = t;
if (t.alternate)
for (; e.return; )
e = e.return;
else {
t = e;
do
e = t,
(e.flags & 4098) !== 0 && (l = e.return),
t = e.return;
while (t)
}
return e.tag === 3 ? l : null
}
function p(t) {
if (t.tag === 13) {
var e = t.memoizedState;
if (e === null && (t = t.alternate,
t !== null && (e = t.memoizedState)),
e !== null)
return e.dehydrated
}
return null
}
function S(t) {
if (y(t) !== t)
throw Error(o(188))
}
function g(t) {
var e = t.alternate;
if (!e) {
if (e = y(t),
e === null)
throw Error(o(188));
return e !== t ? null : t
}
for (var l = t, a = e; ; ) {
var n = l.return;
if (n === null)
break;
var u = n.alternate;
if (u === null) {
if (a = n.return,
a !== null) {
l = a;
continue
}
break
}
if (n.child === u.child) {
for (u = n.child; u; ) {
if (u === l)
return S(n),
t;
if (u === a)
return S(n),
e;
u = u.sibling
}
throw Error(o(188))
}
if (l.return !== a.return)
l = n,
a = u;
else {
for (var c = !1, r = n.child; r; ) {
if (r === l) {
c = !0,
l = n,
a = u;
break
}
if (r === a) {
c = !0,
a = n,
l = u;
break
}
r = r.sibling
}
if (!c) {
for (r = u.child; r; ) {
if (r === l) {
c = !0,
l = u,
a = n;
break
}
if (r === a) {
c = !0,
a = u,
l = n;
break
}
r = r.sibling
}
if (!c)
throw Error(o(189))
}
}
if (l.alternate !== a)
throw Error(o(190))
}
if (l.tag !== 3)
throw Error(o(188));
return l.stateNode.current === l ? t : e
}
function b(t) {
var e = t.tag;
if (e === 5 || e === 26 || e === 27 || e === 6)
return t;
for (t = t.child; t !== null; ) {
if (e = b(t),
e !== null)
return e;
t = t.sibling
}
return null
}
var M = Object.assign
, _ = Symbol.for("react.element")
, q = Symbol.for("react.transitional.element")
, G = Symbol.for("react.portal")
, Y = Symbol.for("react.fragment")
, K = Symbol.for("react.strict_mode")
, V = Symbol.for("react.profiler")
, $ = Symbol.for("react.provider")
, gt = Symbol.for("react.consumer")
, nt = Symbol.for("react.context")
, ht = Symbol.for("react.forward_ref")
, W = Symbol.for("react.suspense")
, P = Symbol.for("react.suspense_list")
, zt = Symbol.for("react.memo")
, Z = Symbol.for("react.lazy")
, Mt = Symbol.for("react.activity")
, ee = Symbol.for("react.memo_cache_sentinel")
, $t = Symbol.iterator;
function bt(t) {
return t === null || typeof t != "object" ? null : (t = $t && t[$t] || t["@@iterator"],
typeof t == "function" ? t : null)
}
var It = Symbol.for("react.client.reference");
function le(t) {
if (t == null)
return null;
if (typeof t == "function")
return t.$$typeof === It ? null : t.displayName || t.name || null;
if (typeof t == "string")
return t;
switch (t) {
case Y:
return "Fragment";
case V:
return "Profiler";
case K:
return "StrictMode";
case W:
return "Suspense";
case P:
return "SuspenseList";
case Mt:
return "Activity"
}
if (typeof t == "object")
switch (t.$$typeof) {
case G:
return "Portal";
case nt:
return (t.displayName || "Context") + ".Provider";
case gt:
return (t._context.displayName || "Context") + ".Consumer";
case ht:
var e = t.render;
return t = t.displayName,
t || (t = e.displayName || e.name || "",
t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"),
t;
case zt:
return e = t.displayName || null,
e !== null ? e : le(t.type) || "Memo";
case Z:
e = t._payload,
t = t._init;
try {
return le(t(e))
} catch {}
}
return null
}
var ct = Array.isArray
, z =
f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPG
RADE
, H =
s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRA
DE
, U = {
pending: !1,
data: null,
method: null,
action: null
}
, yt = []
, m = -1;
function O(t) {
return {
current: t
}
}
function k(t) {
0 > m || (t.current = yt[m],
yt[m] = null,
m--)
}
function N(t, e) {
m++,
yt[m] = t.current,
t.current = e
}
var j = O(null)
, lt = O(null)
, tt = O(null)
, rt = O(null);
function vt(t, e) {
switch (N(tt, e),
N(lt, t),
N(j, null),
e.nodeType) {
case 9:
case 11:
t = (t = e.documentElement) && (t = t.namespaceURI) ? Xd(t) : 0;
break;
default:
if (t = e.tagName,
e = e.namespaceURI)
e = Xd(e),
t = Qd(e, t);
else
switch (t) {
case "svg":
t = 1;
break;
case "math":
t = 2;
break;
default:
t = 0
}
}
k(j),
N(j, t)
}
function Pt() {
k(j),
k(lt),
k(tt)
}
function Re(t) {
t.memoizedState !== null && N(rt, t);
var e = j.current
, l = Qd(e, t.type);
e !== l && (N(lt, t),
N(j, l))
}
function be(t) {
lt.current === t && (k(j),
k(lt)),
rt.current === t && (k(rt),
Nn._currentValue = U)
}
var al = Object.prototype.hasOwnProperty
, zi = i.unstable_scheduleCallback
, Mi = i.unstable_cancelCallback
, qm = i.unstable_shouldYield
, Ym = i.unstable_requestPaint
, Ue = i.unstable_now
, Gm = i.unstable_getCurrentPriorityLevel
, xr = i.unstable_ImmediatePriority
, Er = i.unstable_UserBlockingPriority
, Ln = i.unstable_NormalPriority
, jm = i.unstable_LowPriority
, Tr = i.unstable_IdlePriority
, Lm = i.log
, Xm = i.unstable_setDisableYieldValue
, ja = null
, oe = null;
function nl(t) {
if (typeof Lm == "function" && Xm(t),
oe && typeof oe.setStrictMode == "function")
try {
oe.setStrictMode(ja, t)
} catch {}
}
var re = Math.clz32 ? Math.clz32 : Zm
, Qm = Math.log
, Vm = Math.LN2;
function Zm(t) {
return t >>>= 0,
t === 0 ? 32 : 31 - (Qm(t) / Vm | 0) | 0
}
var Xn = 256
, Qn = 4194304;
function Dl(t) {
var e = t & 42;
if (e !== 0)
return e;
switch (t & -t) {
case 1:
return 1;
case 2:
return 2;
case 4:
return 4;
case 8:
return 8;
case 16:
return 16;
case 32:
return 32;
case 64:
return 64;
case 128:
return 128;
case 256:
case 512:
case 1024:
case 2048:
case 4096:
case 8192:
case 16384:
case 32768:
case 65536:
case 131072:
case 262144:
case 524288:
case 1048576:
case 2097152:
return t & 4194048;
case 4194304:
case 8388608:
case 16777216:
case 33554432:
return t & 62914560;
case 67108864:
return 67108864;
case 134217728:
return 134217728;
case 268435456:
return 268435456;
case 536870912:
return 536870912;
case 1073741824:
return 0;
default:
return t
}
}
function Vn(t, e, l) {
var a = t.pendingLanes;
if (a === 0)
return 0;
var n = 0
, u = t.suspendedLanes
, c = t.pingedLanes;
t = t.warmLanes;
var r = a & 134217727;
return r !== 0 ? (a = r & ~u,
a !== 0 ? n = Dl(a) : (c &= r,
c !== 0 ? n = Dl(c) : l || (l = r & ~t,
l !== 0 && (n = Dl(l))))) : (r = a & ~u,
r !== 0 ? n = Dl(r) : c !== 0 ? n = Dl(c) : l || (l = a & ~t,
l !== 0 && (n = Dl(l)))),
n === 0 ? 0 : e !== 0 && e !== n && (e & u) === 0 && (u = n & -n,
l = e & -e,
u >= l || u === 32 && (l & 4194048) !== 0) ? e : n
}
function La(t, e) {
return (t.pendingLanes & ~(t.suspendedLanes & ~t.pingedLanes) & e) === 0
}
function Km(t, e) {
switch (t) {
case 1:
case 2:
case 4:
case 8:
case 64:
return e + 250;
case 16:
case 32:
case 128:
case 256:
case 512:
case 1024:
case 2048:
case 4096:
case 8192:
case 16384:
case 32768:
case 65536:
case 131072:
case 262144:
case 524288:
case 1048576:
case 2097152:
return e + 5e3;
case 4194304:
case 8388608:
case 16777216:
case 33554432:
return -1;
case 67108864:
case 134217728:
case 268435456:
case 536870912:
case 1073741824:
return -1;
default:
return -1
}
}
function Ar() {
var t = Xn;
return Xn <<= 1,
(Xn & 4194048) === 0 && (Xn = 256),
t
}
function zr() {
var t = Qn;
return Qn <<= 1,
(Qn & 62914560) === 0 && (Qn = 4194304),
t
}
function Ri(t) {
for (var e = [], l = 0; 31 > l; l++)
e.push(t);
return e
}
function Xa(t, e) {
t.pendingLanes |= e,
e !== 268435456 && (t.suspendedLanes = 0,
t.pingedLanes = 0,
t.warmLanes = 0)
}
function Jm(t, e, l, a, n, u) {
var c = t.pendingLanes;
t.pendingLanes = l,
t.suspendedLanes = 0,
t.pingedLanes = 0,
t.warmLanes = 0,
t.expiredLanes &= l,
t.entangledLanes &= l,
t.errorRecoveryDisabledLanes &= l,
t.shellSuspendCounter = 0;
var r = t.entanglements
, d = t.expirationTimes
, E = t.hiddenUpdates;
for (l = c & ~l; 0 < l; ) {
var R = 31 - re(l)
, C = 1 << R;
r[R] = 0,
d[R] = -1;
var T = E[R];
if (T !== null)
for (E[R] = null,
R = 0; R < T.length; R++) {
var A = T[R];
A !== null && (A.lane &= -536870913)
}
l &= ~C
}
a !== 0 && Mr(t, a, 0),
u !== 0 && n === 0 && t.tag !== 0 && (t.suspendedLanes |= u & ~(c & ~e))
}
function Mr(t, e, l) {
t.pendingLanes |= e,
t.suspendedLanes &= ~e;
var a = 31 - re(e);
t.entangledLanes |= e,
t.entanglements[a] = t.entanglements[a] | 1073741824 | l & 4194090
}
function Rr(t, e) {
var l = t.entangledLanes |= e;
for (t = t.entanglements; l; ) {
var a = 31 - re(l)
, n = 1 << a;
n & e | t[a] & e && (t[a] |= e),
l &= ~n
}
}
function Di(t) {
switch (t) {
case 2:
t = 1;
break;
case 8:
t = 4;
break;
case 32:
t = 16;
break;
case 256:
case 512:
case 1024:
case 2048:
case 4096:
case 8192:
case 16384:
case 32768:
case 65536:
case 131072:
case 262144:
case 524288:
case 1048576:
case 2097152:
case 4194304:
case 8388608:
case 16777216:
case 33554432:
t = 128;
break;
case 268435456:
t = 134217728;
break;
default:
t = 0
}
return t
}
function Oi(t) {
return t &= -t,
2 < t ? 8 < t ? (t & 134217727) !== 0 ? 32 : 268435456 : 8 : 2
}
function Dr() {
var t = H.p;
return t !== 0 ? t : (t = window.event,
t === void 0 ? 32 : rh(t.type))
}
function $m(t, e) {
var l = H.p;
try {
return H.p = t,
e()
} finally {
H.p = l
}
}
var ul = Math.random().toString(36).slice(2)
, Wt = "__reactFiber$" + ul
, ae = "__reactProps$" + ul
, Fl = "__reactContainer$" + ul
, _i = "__reactEvents$" + ul
, Wm = "__reactListeners$" + ul
, Fm = "__reactHandles$" + ul
, Or = "__reactResources$" + ul
, Qa = "__reactMarker$" + ul;
function Ci(t) {
delete t[Wt],
delete t[ae],
delete t[_i],
delete t[Wm],
delete t[Fm]
}
function Il(t) {
var e = t[Wt];
if (e)
return e;
for (var l = t.parentNode; l; ) {
if (e = l[Fl] || l[Wt]) {
if (l = e.alternate,
e.child !== null || l !== null && l.child !== null)
for (t = Jd(t); t !== null; ) {
if (l = t[Wt])
return l;
t = Jd(t)
}
return e
}
t = l,
l = t.parentNode
}
return null
}
function Pl(t) {
if (t = t[Wt] || t[Fl]) {
var e = t.tag;
if (e === 5 || e === 6 || e === 13 || e === 26 || e === 27 || e === 3)
return t
}
return null
}
function Va(t) {
var e = t.tag;
if (e === 5 || e === 26 || e === 27 || e === 6)
return t.stateNode;
throw Error(o(33))
}
function ta(t) {
var e = t[Or];
return e || (e = t[Or] = {
hoistableStyles: new Map,
hoistableScripts: new Map
}),
e
}
function jt(t) {
t[Qa] = !0
}
var _r = new Set
, Cr = {};
function Ol(t, e) {
ea(t, e),
ea(t + "Capture", e)
}
function ea(t, e) {
for (Cr[t] = e,
t = 0; t < e.length; t++)
_r.add(e[t])
}
var Im = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-
\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-
\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-
\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-
\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-
9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")
, Ur = {}
, Nr = {};
function Pm(t) {
return al.call(Nr, t) ? !0 : al.call(Ur, t) ? !1 : Im.test(t) ? Nr[t] = !0 : (Ur[t] = !0,
!1)
}
function Zn(t, e, l) {
if (Pm(e))
if (l === null)
t.removeAttribute(e);
else {
switch (typeof l) {
case "undefined":
case "function":
case "symbol":
t.removeAttribute(e);
return;
case "boolean":
var a = e.toLowerCase().slice(0, 5);
if (a !== "data-" && a !== "aria-") {
t.removeAttribute(e);
return
}
}
t.setAttribute(e, "" + l)
}
}
function Kn(t, e, l) {
if (l === null)
t.removeAttribute(e);
else {
switch (typeof l) {
case "undefined":
case "function":
case "symbol":
case "boolean":
t.removeAttribute(e);
return
}
t.setAttribute(e, "" + l)
}
}
function Ge(t, e, l, a) {
if (a === null)
t.removeAttribute(l);
else {
switch (typeof a) {
case "undefined":
case "function":
case "symbol":
case "boolean":
t.removeAttribute(l);
return
}
t.setAttributeNS(e, l, "" + a)
}
}
var Ui, Hr;
function la(t) {
if (Ui === void 0)
try {
throw Error()
} catch (l) {
var e = l.stack.trim().match(/\n( *(at )?)/);
Ui = e && e[1] || "",
Hr = -1 < l.stack.indexOf(`
at`) ? " (<anonymous>)" : -1 < l.stack.indexOf("@") ? "@unknown:0:0" : ""
}
return `
` + Ui + t + Hr
}
var Ni = !1;
function Hi(t, e) {
if (!t || Ni)
return "";
Ni = !0;
var l = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
try {
var a = {
DetermineComponentFrameRoot: function() {
try {
if (e) {
var C = function() {
throw Error()
};
if (Object.defineProperty(C.prototype, "props", {
set: function() {
throw Error()
}
}),
typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(C, [])
} catch (A) {
var T = A
}
Reflect.construct(t, [], C)
} else {
try {
C.call()
} catch (A) {
T = A
}
t.call(C.prototype)
}
} else {
try {
throw Error()
} catch (A) {
T = A
}
(C = t()) && typeof C.catch == "function" && C.catch(function() {})
}
} catch (A) {
if (A && T && typeof A.stack == "string")
return [A.stack, T.stack]
}
return [null, null]
}
};
a.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
var n = Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot, "name");
n && n.configurable && Object.defineProperty(a.DetermineComponentFrameRoot, "name",
{
value: "DetermineComponentFrameRoot"
});
var u = a.DetermineComponentFrameRoot()
, c = u[0]
, r = u[1];
if (c && r) {
var d = c.split(`
`)
, E = r.split(`
`);
for (n = a = 0; a < d.length && !d[a].includes("DetermineComponentFrameRoot"); )
a++;
for (; n < E.length && !E[n].includes("DetermineComponentFrameRoot"); )
n++;
if (a === d.length || n === E.length)
for (a = d.length - 1,
n = E.length - 1; 1 <= a && 0 <= n && d[a] !== E[n]; )
n--;
for (; 1 <= a && 0 <= n; a--,
n--)
if (d[a] !== E[n]) {
if (a !== 1 || n !== 1)
do
if (a--,
n--,
0 > n || d[a] !== E[n]) {
var R = `
` + d[a].replace(" at new ", " at ");
return t.displayName && R.includes("<anonymous>") && (R = R.replace("<anonymous>",
t.displayName)),
R
}
while (1 <= a && 0 <= n);
break
}
}
} finally {
Ni = !1,
Error.prepareStackTrace = l
}
return (l = t ? t.displayName || t.name : "") ? la(l) : ""
}
function tg(t) {
switch (t.tag) {
case 26:
case 27:
case 5:
return la(t.type);
case 16:
return la("Lazy");
case 13:
return la("Suspense");
case 19:
return la("SuspenseList");
case 0:
case 15:
return Hi(t.type, !1);
case 11:
return Hi(t.type.render, !1);
case 1:
return Hi(t.type, !0);
case 31:
return la("Activity");
default:
return ""
}
}
function Br(t) {
try {
var e = "";
do
e += tg(t),
t = t.return;
while (t);
return e
} catch (l) {
return `
Error generating stack: ` + l.message + `
` + l.stack
}
}
function ve(t) {
switch (typeof t) {
case "bigint":
case "boolean":
case "number":
case "string":
case "undefined":
return t;
case "object":
return t;
default:
return ""
}
}
function kr(t) {
var e = t.type;
return (t = t.nodeName) && t.toLowerCase() === "input" && (e === "checkbox" || e ===
"radio")
}
function eg(t) {
var e = kr(t) ? "checked" : "value"
, l = Object.getOwnPropertyDescriptor(t.constructor.prototype, e)
, a = "" + t[e];
if (!t.hasOwnProperty(e) && typeof l < "u" && typeof l.get == "function" && typeof l.set ==
"function") {
var n = l.get
, u = l.set;
return Object.defineProperty(t, e, {
configurable: !0,
get: function() {
return n.call(this)
},
set: function(c) {
a = "" + c,
u.call(this, c)
}
}),
Object.defineProperty(t, e, {
enumerable: l.enumerable
}),
{
getValue: function() {
return a
},
setValue: function(c) {
a = "" + c
},
stopTracking: function() {
t._valueTracker = null,
delete t[e]
}
}
}
}
function Jn(t) {
t._valueTracker || (t._valueTracker = eg(t))
}
function qr(t) {
if (!t)
return !1;
var e = t._valueTracker;
if (!e)
return !0;
var l = e.getValue()
, a = "";
return t && (a = kr(t) ? t.checked ? "true" : "false" : t.value),
t = a,
t !== l ? (e.setValue(t),
!0) : !1
}
function $n(t) {
if (t = t || (typeof document < "u" ? document : void 0),
typeof t > "u")
return null;
try {
return t.activeElement || t.body
} catch {
return t.body
}
}
var lg = /[\n"\\]/g;
function Se(t) {
return t.replace(lg, function(e) {
return "\\" + e.charCodeAt(0).toString(16) + " "
})
}
function Bi(t, e, l, a, n, u, c, r) {
t.name = "",
c != null && typeof c != "function" && typeof c != "symbol" && typeof c != "boolean" ?
t.type = c : t.removeAttribute("type"),
e != null ? c === "number" ? (e === 0 && t.value === "" || t.value != e) && (t.value = "" +
ve(e)) : t.value !== "" + ve(e) && (t.value = "" + ve(e)) : c !== "submit" && c !== "reset" ||
t.removeAttribute("value"),
e != null ? ki(t, c, ve(e)) : l != null ? ki(t, c, ve(l)) : a != null && t.removeAttribute("value"),
n == null && u != null && (t.defaultChecked = !!u),
n != null && (t.checked = n && typeof n != "function" && typeof n != "symbol"),
r != null && typeof r != "function" && typeof r != "symbol" && typeof r != "boolean" ?
t.name = "" + ve(r) : t.removeAttribute("name")
}
function Yr(t, e, l, a, n, u, c, r) {
if (u != null && typeof u != "function" && typeof u != "symbol" && typeof u != "boolean"
&& (t.type = u),
e != null || l != null) {
if (!(u !== "submit" && u !== "reset" || e != null))
return;
l = l != null ? "" + ve(l) : "",
e = e != null ? "" + ve(e) : l,
r || e === t.value || (t.value = e),
t.defaultValue = e
}
a = a ?? n,
a = typeof a != "function" && typeof a != "symbol" && !!a,
t.checked = r ? t.checked : !!a,
t.defaultChecked = !!a,
c != null && typeof c != "function" && typeof c != "symbol" && typeof c != "boolean" &&
(t.name = c)
}
function ki(t, e, l) {
e === "number" && $n(t.ownerDocument) === t || t.defaultValue === "" + l || (t.defaultValue
= "" + l)
}
function aa(t, e, l, a) {
if (t = t.options,
e) {
e = {};
for (var n = 0; n < l.length; n++)
e["$" + l[n]] = !0;
for (l = 0; l < t.length; l++)
n = e.hasOwnProperty("$" + t[l].value),
t[l].selected !== n && (t[l].selected = n),
n && a && (t[l].defaultSelected = !0)
} else {
for (l = "" + ve(l),
e = null,
n = 0; n < t.length; n++) {
if (t[n].value === l) {
t[n].selected = !0,
a && (t[n].defaultSelected = !0);
return
}
e !== null || t[n].disabled || (e = t[n])
}
e !== null && (e.selected = !0)
}
}
function Gr(t, e, l) {
if (e != null && (e = "" + ve(e),
e !== t.value && (t.value = e),
l == null)) {
t.defaultValue !== e && (t.defaultValue = e);
return
}
t.defaultValue = l != null ? "" + ve(l) : ""
}
function jr(t, e, l, a) {
if (e == null) {
if (a != null) {
if (l != null)
throw Error(o(92));
if (ct(a)) {
if (1 < a.length)
throw Error(o(93));
a = a[0]
}
l = a
}
l == null && (l = ""),
e = l
}
l = ve(e),
t.defaultValue = l,
a = t.textContent,
a === l && a !== "" && a !== null && (t.value = a)
}
function na(t, e) {
if (e) {
var l = t.firstChild;
if (l && l === t.lastChild && l.nodeType === 3) {
l.nodeValue = e;
return
}
}
t.textContent = e
}
var ag = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice
borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex
flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd
gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart
fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom
fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit
strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup
MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative
msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow
msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup
WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex
WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));
function Lr(t, e, l) {
var a = e.indexOf("--") === 0;
l == null || typeof l == "boolean" || l === "" ? a ? t.setProperty(e, "") : e === "float" ?
t.cssFloat = "" : t[e] = "" : a ? t.setProperty(e, l) : typeof l != "number" || l === 0 || ag.has(e) ? e
=== "float" ? t.cssFloat = l : t[e] = ("" + l).trim() : t[e] = l + "px"
}
function Xr(t, e, l) {
if (e != null && typeof e != "object")
throw Error(o(62));
if (t = t.style,
l != null) {
for (var a in l)
!l.hasOwnProperty(a) || e != null && e.hasOwnProperty(a) || (a.indexOf("--") === 0 ?
t.setProperty(a, "") : a === "float" ? t.cssFloat = "" : t[a] = "");
for (var n in e)
a = e[n],
e.hasOwnProperty(n) && l[n] !== a && Lr(t, n, a)
} else
for (var u in e)
e.hasOwnProperty(u) && Lr(t, u, e[u])
}
function qi(t) {
if (t.indexOf("-") === -1)
return !1;
switch (t) {
case "annotation-xml":
case "color-profile":
case "font-face":
case "font-face-src":
case "font-face-uri":
case "font-face-format":
case "font-face-name":
case "missing-glyph":
return !1;
default:
return !0
}
}
var ng = new Map([["acceptCharset", "accept-charset"], ["htmlFor", "for"], ["httpEquiv",
"http-equiv"], ["crossOrigin", "crossorigin"], ["accentHeight", "accent-height"],
["alignmentBaseline", "alignment-baseline"], ["arabicForm", "arabic-form"], ["baselineShift",
"baseline-shift"], ["capHeight", "cap-height"], ["clipPath", "clip-path"], ["clipRule", "clip-
rule"], ["colorInterpolation", "color-interpolation"], ["colorInterpolationFilters", "color-
interpolation-filters"], ["colorProfile", "color-profile"], ["colorRendering", "color-rendering"],
["dominantBaseline", "dominant-baseline"], ["enableBackground", "enable-background"],
["fillOpacity", "fill-opacity"], ["fillRule", "fill-rule"], ["floodColor", "flood-color"],
["floodOpacity", "flood-opacity"], ["fontFamily", "font-family"], ["fontSize", "font-size"],
["fontSizeAdjust", "font-size-adjust"], ["fontStretch", "font-stretch"], ["fontStyle", "font-
style"], ["fontVariant", "font-variant"], ["fontWeight", "font-weight"], ["glyphName", "glyph-
name"], ["glyphOrientationHorizontal", "glyph-orientation-horizontal"],
["glyphOrientationVertical", "glyph-orientation-vertical"], ["horizAdvX", "horiz-adv-x"],
["horizOriginX", "horiz-origin-x"], ["imageRendering", "image-rendering"], ["letterSpacing",
"letter-spacing"], ["lightingColor", "lighting-color"], ["markerEnd", "marker-end"],
["markerMid", "marker-mid"], ["markerStart", "marker-start"], ["overlinePosition", "overline-
position"], ["overlineThickness", "overline-thickness"], ["paintOrder", "paint-order"],
["panose-1", "panose-1"], ["pointerEvents", "pointer-events"], ["renderingIntent", "rendering-
intent"], ["shapeRendering", "shape-rendering"], ["stopColor", "stop-color"], ["stopOpacity",
"stop-opacity"], ["strikethroughPosition", "strikethrough-position"],
["strikethroughThickness", "strikethrough-thickness"], ["strokeDasharray", "stroke-
dasharray"], ["strokeDashoffset", "stroke-dashoffset"], ["strokeLinecap", "stroke-linecap"],
["strokeLinejoin", "stroke-linejoin"], ["strokeMiterlimit", "stroke-miterlimit"],
["strokeOpacity", "stroke-opacity"], ["strokeWidth", "stroke-width"], ["textAnchor", "text-
anchor"], ["textDecoration", "text-decoration"], ["textRendering", "text-rendering"],
["transformOrigin", "transform-origin"], ["underlinePosition", "underline-position"],
["underlineThickness", "underline-thickness"], ["unicodeBidi", "unicode-bidi"],
["unicodeRange", "unicode-range"], ["unitsPerEm", "units-per-em"], ["vAlphabetic", "v-
alphabetic"], ["vHanging", "v-hanging"], ["vIdeographic", "v-ideographic"],
["vMathematical", "v-mathematical"], ["vectorEffect", "vector-effect"], ["vertAdvY", "vert-
adv-y"], ["vertOriginX", "vert-origin-x"], ["vertOriginY", "vert-origin-y"], ["wordSpacing",
"word-spacing"], ["writingMode", "writing-mode"], ["xmlnsXlink", "xmlns:xlink"],
["xHeight", "x-height"]])
, ug = /^[\u0000-\u001F
]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
function Wn(t) {
return ug.test("" + t) ? "javascript:throw new Error('React has blocked a javascript: URL as a
security precaution.')" : t
}
var Yi = null;
function Gi(t) {
return t = t.target || t.srcElement || window,
t.correspondingUseElement && (t = t.correspondingUseElement),
t.nodeType === 3 ? t.parentNode : t
}
var ua = null
, ia = null;
function Qr(t) {
var e = Pl(t);
if (e && (t = e.stateNode)) {
var l = t[ae] || null;
t: switch (t = e.stateNode,
e.type) {
case "input":
if (Bi(t, l.value, l.defaultValue, l.defaultValue, l.checked, l.defaultChecked, l.type, l.name),
e = l.name,
l.type === "radio" && e != null) {
for (l = t; l.parentNode; )
l = l.parentNode;
for (l = l.querySelectorAll('input[name="' + Se("" + e) + '"][type="radio"]'),
e = 0; e < l.length; e++) {
var a = l[e];
if (a !== t && a.form === t.form) {
var n = a[ae] || null;
if (!n)
throw Error(o(90));
Bi(a, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name)
}
}
for (e = 0; e < l.length; e++)
a = l[e],
a.form === t.form && qr(a)
}
break t;
case "textarea":
Gr(t, l.value, l.defaultValue);
break t;
case "select":
e = l.value,
e != null && aa(t, !!l.multiple, e, !1)
}
}
}
var ji = !1;
function Vr(t, e, l) {
if (ji)
return t(e, l);
ji = !0;
try {
var a = t(e);
return a
} finally {
if (ji = !1,
(ua !== null || ia !== null) && (Hu(),
ua && (e = ua,
t = ia,
ia = ua = null,
Qr(e),
t)))
for (e = 0; e < t.length; e++)
Qr(t[e])
}
}
function Za(t, e) {
var l = t.stateNode;
if (l === null)
return null;
var a = l[ae] || null;
if (a === null)
return null;
l = a[e];
t: switch (e) {
case "onClick":
case "onClickCapture":
case "onDoubleClick":
case "onDoubleClickCapture":
case "onMouseDown":
case "onMouseDownCapture":
case "onMouseMove":
case "onMouseMoveCapture":
case "onMouseUp":
case "onMouseUpCapture":
case "onMouseEnter":
(a = !a.disabled) || (t = t.type,
a = !(t === "button" || t === "input" || t === "select" || t === "textarea")),
t = !a;
break t;
default:
t = !1
}
if (t)
return null;
if (l && typeof l != "function")
throw Error(o(231, e, typeof l));
return l
}
var je = !(typeof window > "u" || typeof window.document > "u" || typeof
window.document.createElement > "u")
, Li = !1;
if (je)
try {
var Ka = {};
Object.defineProperty(Ka, "passive", {
get: function() {
Li = !0
}
}),
window.addEventListener("test", Ka, Ka),
window.removeEventListener("test", Ka, Ka)
} catch {
Li = !1
}
var il = null
, Xi = null
, Fn = null;
function Zr() {
if (Fn)
return Fn;
var t, e = Xi, l = e.length, a, n = "value"in il ? il.value : il.textContent, u = n.length;
for (t = 0; t < l && e[t] === n[t]; t++)
;
var c = l - t;
for (a = 1; a <= c && e[l - a] === n[u - a]; a++)
;
return Fn = n.slice(t, 1 < a ? 1 - a : void 0)
}
function In(t) {
var e = t.keyCode;
return "charCode"in t ? (t = t.charCode,
t === 0 && e === 13 && (t = 13)) : t = e,
t === 10 && (t = 13),
32 <= t || t === 13 ? t : 0
}
function Pn() {
return !0
}
function Kr() {
return !1
}
function ne(t) {
function e(l, a, n, u, c) {
this._reactName = l,
this._targetInst = n,
this.type = a,
this.nativeEvent = u,
this.target = c,
this.currentTarget = null;
for (var r in t)
t.hasOwnProperty(r) && (l = t[r],
this[r] = l ? l(u) : u[r]);
return this.isDefaultPrevented = (u.defaultPrevented != null ? u.defaultPrevented :
u.returnValue === !1) ? Pn : Kr,
this.isPropagationStopped = Kr,
this
}
return M(e.prototype, {
preventDefault: function() {
this.defaultPrevented = !0;
var l = this.nativeEvent;
l && (l.preventDefault ? l.preventDefault() : typeof l.returnValue != "unknown" &&
(l.returnValue = !1),
this.isDefaultPrevented = Pn)
},
stopPropagation: function() {
var l = this.nativeEvent;
l && (l.stopPropagation ? l.stopPropagation() : typeof l.cancelBubble != "unknown" &&
(l.cancelBubble = !0),
this.isPropagationStopped = Pn)
},
persist: function() {},
isPersistent: Pn
}),
e
}
var _l = {
eventPhase: 0,
bubbles: 0,
cancelable: 0,
timeStamp: function(t) {
return t.timeStamp || Date.now()
},
defaultPrevented: 0,
isTrusted: 0
}, tu = ne(_l), Ja = M({}, _l, {
view: 0,
detail: 0
}), ig = ne(Ja), Qi, Vi, $a, eu = M({}, Ja, {
screenX: 0,
screenY: 0,
clientX: 0,
clientY: 0,
pageX: 0,
pageY: 0,
ctrlKey: 0,
shiftKey: 0,
altKey: 0,
metaKey: 0,
getModifierState: Ki,
button: 0,
buttons: 0,
relatedTarget: function(t) {
return t.relatedTarget === void 0 ? t.fromElement === t.srcElement ? t.toElement :
t.fromElement : t.relatedTarget
},
movementX: function(t) {
return "movementX"in t ? t.movementX : (t !== $a && ($a && t.type === "mousemove" ?
(Qi = t.screenX - $a.screenX,
Vi = t.screenY - $a.screenY) : Vi = Qi = 0,
$a = t),
Qi)
},
movementY: function(t) {
return "movementY"in t ? t.movementY : Vi
}
}), Jr = ne(eu), cg = M({}, eu, {
dataTransfer: 0
}), og = ne(cg), rg = M({}, Ja, {
relatedTarget: 0
}), Zi = ne(rg), fg = M({}, _l, {
animationName: 0,
elapsedTime: 0,
pseudoElement: 0
}), sg = ne(fg), dg = M({}, _l, {
clipboardData: function(t) {
return "clipboardData"in t ? t.clipboardData : window.clipboardData
}
}), hg = ne(dg), mg = M({}, _l, {
data: 0
}), $r = ne(mg), gg = {
Esc: "Escape",
Spacebar: " ",
Left: "ArrowLeft",
Up: "ArrowUp",
Right: "ArrowRight",
Down: "ArrowDown",
Del: "Delete",
Win: "OS",
Menu: "ContextMenu",
Apps: "ContextMenu",
Scroll: "ScrollLock",
MozPrintableKey: "Unidentified"
}, yg = {
8: "Backspace",
9: "Tab",
12: "Clear",
13: "Enter",
16: "Shift",
17: "Control",
18: "Alt",
19: "Pause",
20: "CapsLock",
27: "Escape",
32: " ",
33: "PageUp",
34: "PageDown",
35: "End",
36: "Home",
37: "ArrowLeft",
38: "ArrowUp",
39: "ArrowRight",
40: "ArrowDown",
45: "Insert",
46: "Delete",
112: "F1",
113: "F2",
114: "F3",
115: "F4",
116: "F5",
117: "F6",
118: "F7",
119: "F8",
120: "F9",
121: "F10",
122: "F11",
123: "F12",
144: "NumLock",
145: "ScrollLock",
224: "Meta"
}, pg = {
Alt: "altKey",
Control: "ctrlKey",
Meta: "metaKey",
Shift: "shiftKey"
};
function bg(t) {
var e = this.nativeEvent;
return e.getModifierState ? e.getModifierState(t) : (t = pg[t]) ? !!e[t] : !1
}
function Ki() {
return bg
}
var vg = M({}, Ja, {
key: function(t) {
if (t.key) {
var e = gg[t.key] || t.key;
if (e !== "Unidentified")
return e
}
return t.type === "keypress" ? (t = In(t),
t === 13 ? "Enter" : String.fromCharCode(t)) : t.type === "keydown" || t.type === "keyup" ?
yg[t.keyCode] || "Unidentified" : ""
},
code: 0,
location: 0,
ctrlKey: 0,
shiftKey: 0,
altKey: 0,
metaKey: 0,
repeat: 0,
locale: 0,
getModifierState: Ki,
charCode: function(t) {
return t.type === "keypress" ? In(t) : 0
},
keyCode: function(t) {
return t.type === "keydown" || t.type === "keyup" ? t.keyCode : 0
},
which: function(t) {
return t.type === "keypress" ? In(t) : t.type === "keydown" || t.type === "keyup" ? t.keyCode
: 0
}
})
, Sg = ne(vg)
, wg = M({}, eu, {
pointerId: 0,
width: 0,
height: 0,
pressure: 0,
tangentialPressure: 0,
tiltX: 0,
tiltY: 0,
twist: 0,
pointerType: 0,
isPrimary: 0
})
, Wr = ne(wg)
, xg = M({}, Ja, {
touches: 0,
targetTouches: 0,
changedTouches: 0,
altKey: 0,
metaKey: 0,
ctrlKey: 0,
shiftKey: 0,
getModifierState: Ki
})
, Eg = ne(xg)
, Tg = M({}, _l, {
propertyName: 0,
elapsedTime: 0,
pseudoElement: 0
})
, Ag = ne(Tg)
, zg = M({}, eu, {
deltaX: function(t) {
return "deltaX"in t ? t.deltaX : "wheelDeltaX"in t ? -t.wheelDeltaX : 0
},
deltaY: function(t) {
return "deltaY"in t ? t.deltaY : "wheelDeltaY"in t ? -t.wheelDeltaY : "wheelDelta"in t ? -
t.wheelDelta : 0
},
deltaZ: 0,
deltaMode: 0
})
, Mg = ne(zg)
, Rg = M({}, _l, {
newState: 0,
oldState: 0
})
, Dg = ne(Rg)
, Og = [9, 13, 27, 32]
, Ji = je && "CompositionEvent"in window
, Wa = null;
je && "documentMode"in document && (Wa = document.documentMode);
var _g = je && "TextEvent"in window && !Wa
, Fr = je && (!Ji || Wa && 8 < Wa && 11 >= Wa)
, Ir = " "
, Pr = !1;
function tf(t, e) {
switch (t) {
case "keyup":
return Og.indexOf(e.keyCode) !== -1;
case "keydown":
return e.keyCode !== 229;
case "keypress":
case "mousedown":
case "focusout":
return !0;
default:
return !1
}
}
function ef(t) {
return t = t.detail,
typeof t == "object" && "data"in t ? t.data : null
}
var ca = !1;
function Cg(t, e) {
switch (t) {
case "compositionend":
return ef(e);
case "keypress":
return e.which !== 32 ? null : (Pr = !0,
Ir);
case "textInput":
return t = e.data,
t === Ir && Pr ? null : t;
default:
return null
}
}
function Ug(t, e) {
if (ca)
return t === "compositionend" || !Ji && tf(t, e) ? (t = Zr(),
Fn = Xi = il = null,
ca = !1,
t) : null;
switch (t) {
case "paste":
return null;
case "keypress":
if (!(e.ctrlKey || e.altKey || e.metaKey) || e.ctrlKey && e.altKey) {
if (e.char && 1 < e.char.length)
return e.char;
if (e.which)
return String.fromCharCode(e.which)
}
return null;
case "compositionend":
return Fr && e.locale !== "ko" ? null : e.data;
default:
return null
}
}
var Ng = {
color: !0,
date: !0,
datetime: !0,
"datetime-local": !0,
email: !0,
month: !0,
number: !0,
password: !0,
range: !0,
search: !0,
tel: !0,
text: !0,
time: !0,
url: !0,
week: !0
};
function lf(t) {
var e = t && t.nodeName && t.nodeName.toLowerCase();
return e === "input" ? !!Ng[t.type] : e === "textarea"
}
function af(t, e, l, a) {
ua ? ia ? ia.push(a) : ia = [a] : ua = a,
e = ju(e, "onChange"),
0 < e.length && (l = new tu("onChange","change",null,l,a),
t.push({
event: l,
listeners: e
}))
}
var Fa = null
, Ia = null;
function Hg(t) {
qd(t, 0)
}
function lu(t) {
var e = Va(t);
if (qr(e))
return t
}
function nf(t, e) {
if (t === "change")
return e
}
var uf = !1;
if (je) {
var $i;
if (je) {
var Wi = "oninput"in document;
if (!Wi) {
var cf = document.createElement("div");
cf.setAttribute("oninput", "return;"),
Wi = typeof cf.oninput == "function"
}
$i = Wi
} else
$i = !1;
uf = $i && (!document.documentMode || 9 < document.documentMode)
}
function of() {
Fa && (Fa.detachEvent("onpropertychange", rf),
Ia = Fa = null)
}
function rf(t) {
if (t.propertyName === "value" && lu(Ia)) {
var e = [];
af(e, Ia, t, Gi(t)),
Vr(Hg, e)
}
}
function Bg(t, e, l) {
t === "focusin" ? (of(),
Fa = e,
Ia = l,
Fa.attachEvent("onpropertychange", rf)) : t === "focusout" && of()
}
function kg(t) {
if (t === "selectionchange" || t === "keyup" || t === "keydown")
return lu(Ia)
}
function qg(t, e) {
if (t === "click")
return lu(e)
}
function Yg(t, e) {
if (t === "input" || t === "change")
return lu(e)
}
function Gg(t, e) {
return t === e && (t !== 0 || 1 / t === 1 / e) || t !== t && e !== e
}
var fe = typeof Object.is == "function" ? Object.is : Gg;
function Pa(t, e) {
if (fe(t, e))
return !0;
if (typeof t != "object" || t === null || typeof e != "object" || e === null)
return !1;
var l = Object.keys(t)
, a = Object.keys(e);
if (l.length !== a.length)
return !1;
for (a = 0; a < l.length; a++) {
var n = l[a];
if (!al.call(e, n) || !fe(t[n], e[n]))
return !1
}
return !0
}
function ff(t) {
for (; t && t.firstChild; )
t = t.firstChild;
return t
}
function sf(t, e) {
var l = ff(t);
t = 0;
for (var a; l; ) {
if (l.nodeType === 3) {
if (a = t + l.textContent.length,
t <= e && a >= e)
return {
node: l,
offset: e - t
};
t = a
}
t: {
for (; l; ) {
if (l.nextSibling) {
l = l.nextSibling;
break t
}
l = l.parentNode
}
l = void 0
}
l = ff(l)
}
}
function df(t, e) {
return t && e ? t === e ? !0 : t && t.nodeType === 3 ? !1 : e && e.nodeType === 3 ? df(t,
e.parentNode) : "contains"in t ? t.contains(e) : t.compareDocumentPosition ?
!!(t.compareDocumentPosition(e) & 16) : !1 : !1
}
function hf(t) {
t = t != null && t.ownerDocument != null && t.ownerDocument.defaultView != null ?
t.ownerDocument.defaultView : window;
for (var e = $n(t.document); e instanceof t.HTMLIFrameElement; ) {
try {
var l = typeof e.contentWindow.location.href == "string"
} catch {
l = !1
}
if (l)
t = e.contentWindow;
else
break;
e = $n(t.document)
}
return e
}
function Fi(t) {
var e = t && t.nodeName && t.nodeName.toLowerCase();
return e && (e === "input" && (t.type === "text" || t.type === "search" || t.type === "tel" ||
t.type === "url" || t.type === "password") || e === "textarea" || t.contentEditable === "true")
}
var jg = je && "documentMode"in document && 11 >= document.documentMode
, oa = null
, Ii = null
, tn = null
, Pi = !1;
function mf(t, e, l) {
var a = l.window === l ? l.document : l.nodeType === 9 ? l : l.ownerDocument;
Pi || oa == null || oa !== $n(a) || (a = oa,
"selectionStart"in a && Fi(a) ? a = {
start: a.selectionStart,
end: a.selectionEnd
} : (a = (a.ownerDocument && a.ownerDocument.defaultView || window).getSelection(),
a = {
anchorNode: a.anchorNode,
anchorOffset: a.anchorOffset,
focusNode: a.focusNode,
focusOffset: a.focusOffset
}),
tn && Pa(tn, a) || (tn = a,
a = ju(Ii, "onSelect"),
0 < a.length && (e = new tu("onSelect","select",null,e,l),
t.push({
event: e,
listeners: a
}),
e.target = oa)))
}
function Cl(t, e) {
var l = {};
return l[t.toLowerCase()] = e.toLowerCase(),
l["Webkit" + t] = "webkit" + e,
l["Moz" + t] = "moz" + e,
l
}
var ra = {
animationend: Cl("Animation", "AnimationEnd"),
animationiteration: Cl("Animation", "AnimationIteration"),
animationstart: Cl("Animation", "AnimationStart"),
transitionrun: Cl("Transition", "TransitionRun"),
transitionstart: Cl("Transition", "TransitionStart"),
transitioncancel: Cl("Transition", "TransitionCancel"),
transitionend: Cl("Transition", "TransitionEnd")
}
, tc = {}
, gf = {};
je && (gf = document.createElement("div").style,
"AnimationEvent"in window || (delete ra.animationend.animation,
delete ra.animationiteration.animation,
delete ra.animationstart.animation),
"TransitionEvent"in window || delete ra.transitionend.transition);
function Ul(t) {
if (tc[t])
return tc[t];
if (!ra[t])
return t;
var e = ra[t], l;
for (l in e)
if (e.hasOwnProperty(l) && l in gf)
return tc[t] = e[l];
return t
}
var yf = Ul("animationend")
, pf = Ul("animationiteration")
, bf = Ul("animationstart")
, Lg = Ul("transitionrun")
, Xg = Ul("transitionstart")
, Qg = Ul("transitioncancel")
, vf = Ul("transitionend")
, Sf = new Map
, ec = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu
copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop
durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown
keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown
mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel
pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset
resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart
volumeChange scroll toggle touchMove waiting wheel".split(" ");
ec.push("scrollEnd");
function De(t, e) {
Sf.set(t, e),
Ol(e, [t])
}
var wf = new WeakMap;
function we(t, e) {
if (typeof t == "object" && t !== null) {
var l = wf.get(t);
return l !== void 0 ? l : (e = {
value: t,
source: e,
stack: Br(e)
},
wf.set(t, e),
e)
}
return {
value: t,
source: e,
stack: Br(e)
}
}
var xe = []
, fa = 0
, lc = 0;
function au() {
for (var t = fa, e = lc = fa = 0; e < t; ) {
var l = xe[e];
xe[e++] = null;
var a = xe[e];
xe[e++] = null;
var n = xe[e];
xe[e++] = null;
var u = xe[e];
if (xe[e++] = null,
a !== null && n !== null) {
var c = a.pending;
c === null ? n.next = n : (n.next = c.next,
c.next = n),
a.pending = n
}
u !== 0 && xf(l, n, u)
}
}
function nu(t, e, l, a) {
xe[fa++] = t,
xe[fa++] = e,
xe[fa++] = l,
xe[fa++] = a,
lc |= a,
t.lanes |= a,
t = t.alternate,
t !== null && (t.lanes |= a)
}
function ac(t, e, l, a) {
return nu(t, e, l, a),
uu(t)
}
function sa(t, e) {
return nu(t, null, null, e),
uu(t)
}
function xf(t, e, l) {
t.lanes |= l;
var a = t.alternate;
a !== null && (a.lanes |= l);
for (var n = !1, u = t.return; u !== null; )
u.childLanes |= l,
a = u.alternate,
a !== null && (a.childLanes |= l),
u.tag === 22 && (t = u.stateNode,
t === null || t._visibility & 1 || (n = !0)),
t = u,
u = u.return;
return t.tag === 3 ? (u = t.stateNode,
n && e !== null && (n = 31 - re(l),
t = u.hiddenUpdates,
a = t[n],
a === null ? t[n] = [e] : a.push(e),
e.lane = l | 536870912),
u) : null
}
function uu(t) {
if (50 < zn)
throw zn = 0,
ro = null,
Error(o(185));
for (var e = t.return; e !== null; )
t = e,
e = t.return;
return t.tag === 3 ? t.stateNode : null
}
var da = {};
function Vg(t, e, l, a) {
this.tag = t,
this.key = l,
this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null,
this.index = 0,
this.refCleanup = this.ref = null,
this.pendingProps = e,
this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null,
this.mode = a,
this.subtreeFlags = this.flags = 0,
this.deletions = null,
this.childLanes = this.lanes = 0,
this.alternate = null
}
function se(t, e, l, a) {
return new Vg(t,e,l,a)
}
function nc(t) {
return t = t.prototype,
!(!t || !t.isReactComponent)
}
function Le(t, e) {
var l = t.alternate;
return l === null ? (l = se(t.tag, e, t.key, t.mode),
l.elementType = t.elementType,
l.type = t.type,
l.stateNode = t.stateNode,
l.alternate = t,
t.alternate = l) : (l.pendingProps = e,
l.type = t.type,
l.flags = 0,
l.subtreeFlags = 0,
l.deletions = null),
l.flags = t.flags & 65011712,
l.childLanes = t.childLanes,
l.lanes = t.lanes,
l.child = t.child,
l.memoizedProps = t.memoizedProps,
l.memoizedState = t.memoizedState,
l.updateQueue = t.updateQueue,
e = t.dependencies,
l.dependencies = e === null ? null : {
lanes: e.lanes,
firstContext: e.firstContext
},
l.sibling = t.sibling,
l.index = t.index,
l.ref = t.ref,
l.refCleanup = t.refCleanup,
l
}
function Ef(t, e) {
t.flags &= 65011714;
var l = t.alternate;
return l === null ? (t.childLanes = 0,
t.lanes = e,
t.child = null,
t.subtreeFlags = 0,
t.memoizedProps = null,
t.memoizedState = null,
t.updateQueue = null,
t.dependencies = null,
t.stateNode = null) : (t.childLanes = l.childLanes,
t.lanes = l.lanes,
t.child = l.child,
t.subtreeFlags = 0,
t.deletions = null,
t.memoizedProps = l.memoizedProps,
t.memoizedState = l.memoizedState,
t.updateQueue = l.updateQueue,
t.type = l.type,
e = l.dependencies,
t.dependencies = e === null ? null : {
lanes: e.lanes,
firstContext: e.firstContext
}),
t
}
function iu(t, e, l, a, n, u) {
var c = 0;
if (a = t,
typeof t == "function")
nc(t) && (c = 1);
else if (typeof t == "string")
c = K0(t, l, j.current) ? 26 : t === "html" || t === "head" || t === "body" ? 27 : 5;
else
t: switch (t) {
case Mt:
return t = se(31, l, e, n),
t.elementType = Mt,
t.lanes = u,
t;
case Y:
return Nl(l.children, n, u, e);
case K:
c = 8,
n |= 24;
break;
case V:
return t = se(12, l, e, n | 2),
t.elementType = V,
t.lanes = u,
t;
case W:
return t = se(13, l, e, n),
t.elementType = W,
t.lanes = u,
t;
case P:
return t = se(19, l, e, n),
t.elementType = P,
t.lanes = u,
t;
default:
if (typeof t == "object" && t !== null)
switch (t.$$typeof) {
case $:
case nt:
c = 10;
break t;
case gt:
c = 9;
break t;
case ht:
c = 11;
break t;
case zt:
c = 14;
break t;
case Z:
c = 16,
a = null;
break t
}
c = 29,
l = Error(o(130, t === null ? "null" : typeof t, "")),
a = null
}
return e = se(c, l, e, n),
e.elementType = t,
e.type = a,
e.lanes = u,
e
}
function Nl(t, e, l, a) {
return t = se(7, t, a, e),
t.lanes = l,
t
}
function uc(t, e, l) {
return t = se(6, t, null, e),
t.lanes = l,
t
}
function ic(t, e, l) {
return e = se(4, t.children !== null ? t.children : [], t.key, e),
e.lanes = l,
e.stateNode = {
containerInfo: t.containerInfo,
pendingChildren: null,
implementation: t.implementation
},
e
}
var ha = []
, ma = 0
, cu = null
, ou = 0
, Ee = []
, Te = 0
, Hl = null
, Xe = 1
, Qe = "";
function Bl(t, e) {
ha[ma++] = ou,
ha[ma++] = cu,
cu = t,
ou = e
}
function Tf(t, e, l) {
Ee[Te++] = Xe,
Ee[Te++] = Qe,
Ee[Te++] = Hl,
Hl = t;
var a = Xe;
t = Qe;
var n = 32 - re(a) - 1;
a &= ~(1 << n),
l += 1;
var u = 32 - re(e) + n;
if (30 < u) {
var c = n - n % 5;
u = (a & (1 << c) - 1).toString(32),
a >>= c,
n -= c,
Xe = 1 << 32 - re(e) + n | l << n | a,
Qe = u + t
} else
Xe = 1 << u | l << n | a,
Qe = t
}
function cc(t) {
t.return !== null && (Bl(t, 1),
Tf(t, 1, 0))
}
function oc(t) {
for (; t === cu; )
cu = ha[--ma],
ha[ma] = null,
ou = ha[--ma],
ha[ma] = null;
for (; t === Hl; )
Hl = Ee[--Te],
Ee[Te] = null,
Qe = Ee[--Te],
Ee[Te] = null,
Xe = Ee[--Te],
Ee[Te] = null
}
var te = null
, _t = null
, pt = !1
, kl = null
, Ne = !1
, rc = Error(o(519));
function ql(t) {
var e = Error(o(418, ""));
throw an(we(e, t)),
rc
}
function Af(t) {
var e = t.stateNode
, l = t.type
, a = t.memoizedProps;
switch (e[Wt] = t,
e[ae] = a,
l) {
case "dialog":
st("cancel", e),
st("close", e);
break;
case "iframe":
case "object":
case "embed":
st("load", e);
break;
case "video":
case "audio":
for (l = 0; l < Rn.length; l++)
st(Rn[l], e);
break;
case "source":
st("error", e);
break;
case "img":
case "image":
case "link":
st("error", e),
st("load", e);
break;
case "details":
st("toggle", e);
break;
case "input":
st("invalid", e),
Yr(e, a.value, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name, !0),
Jn(e);
break;
case "select":
st("invalid", e);
break;
case "textarea":
st("invalid", e),
jr(e, a.value, a.defaultValue, a.children),
Jn(e)
}
l = a.children,
typeof l != "string" && typeof l != "number" && typeof l != "bigint" || e.textContent === "" +
l || a.suppressHydrationWarning === !0 || Ld(e.textContent, l) ? (a.popover != null &&
(st("beforetoggle", e),
st("toggle", e)),
a.onScroll != null && st("scroll", e),
a.onScrollEnd != null && st("scrollend", e),
a.onClick != null && (e.onclick = Lu),
e = !0) : e = !1,
e || ql(t)
}
function zf(t) {
for (te = t.return; te; )
switch (te.tag) {
case 5:
case 13:
Ne = !1;
return;
case 27:
case 3:
Ne = !0;
return;
default:
te = te.return
}
}
function en(t) {
if (t !== te)
return !1;
if (!pt)
return zf(t),
pt = !0,
!1;
var e = t.tag, l;
if ((l = e !== 3 && e !== 27) && ((l = e === 5) && (l = t.type,
l = !(l !== "form" && l !== "button") || zo(t.type, t.memoizedProps)),
l = !l),
l && _t && ql(t),
zf(t),
e === 13) {
if (t = t.memoizedState,
t = t !== null ? t.dehydrated : null,
!t)
throw Error(o(317));
t: {
for (t = t.nextSibling,
e = 0; t; ) {
if (t.nodeType === 8)
if (l = t.data,
l === "/$") {
if (e === 0) {
_t = _e(t.nextSibling);
break t
}
e--
} else
l !== "$" && l !== "$!" && l !== "$?" || e++;
t = t.nextSibling
}
_t = null
}
} else
e === 27 ? (e = _t,
xl(t.type) ? (t = Oo,
Oo = null,
_t = t) : _t = e) : _t = te ? _e(t.stateNode.nextSibling) : null;
return !0
}
function ln() {
_t = te = null,
pt = !1
}
function Mf() {
var t = kl;
return t !== null && (ce === null ? ce = t : ce.push.apply(ce, t),
kl = null),
t
}
function an(t) {
kl === null ? kl = [t] : kl.push(t)
}
var fc = O(null)
, Yl = null
, Ve = null;
function cl(t, e, l) {
N(fc, e._currentValue),
e._currentValue = l
}
function Ze(t) {
t._currentValue = fc.current,
k(fc)
}
function sc(t, e, l) {
for (; t !== null; ) {
var a = t.alternate;
if ((t.childLanes & e) !== e ? (t.childLanes |= e,
a !== null && (a.childLanes |= e)) : a !== null && (a.childLanes & e) !== e &&
(a.childLanes |= e),
t === l)
break;
t = t.return
}
}
function dc(t, e, l, a) {
var n = t.child;
for (n !== null && (n.return = t); n !== null; ) {
var u = n.dependencies;
if (u !== null) {
var c = n.child;
u = u.firstContext;
t: for (; u !== null; ) {
var r = u;
u = n;
for (var d = 0; d < e.length; d++)
if (r.context === e[d]) {
u.lanes |= l,
r = u.alternate,
r !== null && (r.lanes |= l),
sc(u.return, l, t),
a || (c = null);
break t
}
u = r.next
}
} else if (n.tag === 18) {
if (c = n.return,
c === null)
throw Error(o(341));
c.lanes |= l,
u = c.alternate,
u !== null && (u.lanes |= l),
sc(c, l, t),
c = null
} else
c = n.child;
if (c !== null)
c.return = n;
else
for (c = n; c !== null; ) {
if (c === t) {
c = null;
break
}
if (n = c.sibling,
n !== null) {
n.return = c.return,
c = n;
break
}
c = c.return
}
n = c
}
}
function nn(t, e, l, a) {
t = null;
for (var n = e, u = !1; n !== null; ) {
if (!u) {
if ((n.flags & 524288) !== 0)
u = !0;
else if ((n.flags & 262144) !== 0)
break
}
if (n.tag === 10) {
var c = n.alternate;
if (c === null)
throw Error(o(387));
if (c = c.memoizedProps,
c !== null) {
var r = n.type;
fe(n.pendingProps.value, c.value) || (t !== null ? t.push(r) : t = [r])
}
} else if (n === rt.current) {
if (c = n.alternate,
c === null)
throw Error(o(387));
c.memoizedState.memoizedState !== n.memoizedState.memoizedState && (t !== null ?
t.push(Nn) : t = [Nn])
}
n = n.return
}
t !== null && dc(e, t, l, a),
e.flags |= 262144
}
function ru(t) {
for (t = t.firstContext; t !== null; ) {
if (!fe(t.context._currentValue, t.memoizedValue))
return !0;
t = t.next
}
return !1
}
function Gl(t) {
Yl = t,
Ve = null,
t = t.dependencies,
t !== null && (t.firstContext = null)
}
function Ft(t) {
return Rf(Yl, t)
}
function fu(t, e) {
return Yl === null && Gl(t),
Rf(t, e)
}
function Rf(t, e) {
var l = e._currentValue;
if (e = {
context: e,
memoizedValue: l,
next: null
},
Ve === null) {
if (t === null)
throw Error(o(308));
Ve = e,
t.dependencies = {
lanes: 0,
firstContext: e
},
t.flags |= 524288
} else
Ve = Ve.next = e;
return l
}
var Zg = typeof AbortController < "u" ? AbortController : function() {
var t = []
, e = this.signal = {
aborted: !1,
addEventListener: function(l, a) {
t.push(a)
}
};
this.abort = function() {
e.aborted = !0,
t.forEach(function(l) {
return l()
})
}
}
, Kg = i.unstable_scheduleCallback
, Jg = i.unstable_NormalPriority
, Yt = {
$$typeof: nt,
Consumer: null,
Provider: null,
_currentValue: null,
_currentValue2: null,
_threadCount: 0
};
function hc() {
return {
controller: new Zg,
data: new Map,
refCount: 0
}
}
function un(t) {
t.refCount--,
t.refCount === 0 && Kg(Jg, function() {
t.controller.abort()
})
}
var cn = null
, mc = 0
, ga = 0
, ya = null;
function $g(t, e) {
if (cn === null) {
var l = cn = [];
mc = 0,
ga = po(),
ya = {
status: "pending",
value: void 0,
then: function(a) {
l.push(a)
}
}
}
return mc++,
e.then(Df, Df),
e
}
function Df() {
if (--mc === 0 && cn !== null) {
ya !== null && (ya.status = "fulfilled");
var t = cn;
cn = null,
ga = 0,
ya = null;
for (var e = 0; e < t.length; e++)
(0,
t[e])()
}
}
function Wg(t, e) {
var l = []
, a = {
status: "pending",
value: null,
reason: null,
then: function(n) {
l.push(n)
}
};
return t.then(function() {
a.status = "fulfilled",
a.value = e;
for (var n = 0; n < l.length; n++)
(0,
l[n])(e)
}, function(n) {
for (a.status = "rejected",
a.reason = n,
n = 0; n < l.length; n++)
(0,
l[n])(void 0)
}),
a
}
var Of = z.S;
z.S = function(t, e) {
typeof e == "object" && e !== null && typeof e.then == "function" && $g(t, e),
Of !== null && Of(t, e)
}
;
var jl = O(null);
function gc() {
var t = jl.current;
return t !== null ? t : Rt.pooledCache
}
function su(t, e) {
e === null ? N(jl, jl.current) : N(jl, e.pool)
}
function _f() {
var t = gc();
return t === null ? null : {
parent: Yt._currentValue,
pool: t
}
}
var on = Error(o(460))
, Cf = Error(o(474))
, du = Error(o(542))
, yc = {
then: function() {}
};
function Uf(t) {
return t = t.status,
t === "fulfilled" || t === "rejected"
}
function hu() {}
function Nf(t, e, l) {
switch (l = t[l],
l === void 0 ? t.push(e) : l !== e && (e.then(hu, hu),
e = l),
e.status) {
case "fulfilled":
return e.value;
case "rejected":
throw t = e.reason,
Bf(t),
t;
default:
if (typeof e.status == "string")
e.then(hu, hu);
else {
if (t = Rt,
t !== null && 100 < t.shellSuspendCounter)
throw Error(o(482));
t = e,
t.status = "pending",
t.then(function(a) {
if (e.status === "pending") {
var n = e;
n.status = "fulfilled",
n.value = a
}
}, function(a) {
if (e.status === "pending") {
var n = e;
n.status = "rejected",
n.reason = a
}
})
}
switch (e.status) {
case "fulfilled":
return e.value;
case "rejected":
throw t = e.reason,
Bf(t),
t
}
throw rn = e,
on
}
}
var rn = null;
function Hf() {
if (rn === null)
throw Error(o(459));
var t = rn;
return rn = null,
t
}
function Bf(t) {
if (t === on || t === du)
throw Error(o(483))
}
var ol = !1;
function pc(t) {
t.updateQueue = {
baseState: t.memoizedState,
firstBaseUpdate: null,
lastBaseUpdate: null,
shared: {
pending: null,
lanes: 0,
hiddenCallbacks: null
},
callbacks: null
}
}
function bc(t, e) {
t = t.updateQueue,
e.updateQueue === t && (e.updateQueue = {
baseState: t.baseState,
firstBaseUpdate: t.firstBaseUpdate,
lastBaseUpdate: t.lastBaseUpdate,
shared: t.shared,
callbacks: null
})
}
function rl(t) {
return {
lane: t,
tag: 0,
payload: null,
callback: null,
next: null
}
}
function fl(t, e, l) {
var a = t.updateQueue;
if (a === null)
return null;
if (a = a.shared,
(St & 2) !== 0) {
var n = a.pending;
return n === null ? e.next = e : (e.next = n.next,
n.next = e),
a.pending = e,
e = uu(t),
xf(t, null, l),
e
}
return nu(t, a, e, l),
uu(t)
}
function fn(t, e, l) {
if (e = e.updateQueue,
e !== null && (e = e.shared,
(l & 4194048) !== 0)) {
var a = e.lanes;
a &= t.pendingLanes,
l |= a,
e.lanes = l,
Rr(t, l)
}
}
function vc(t, e) {
var l = t.updateQueue
, a = t.alternate;
if (a !== null && (a = a.updateQueue,
l === a)) {
var n = null
, u = null;
if (l = l.firstBaseUpdate,
l !== null) {
do {
var c = {
lane: l.lane,
tag: l.tag,
payload: l.payload,
callback: null,
next: null
};
u === null ? n = u = c : u = u.next = c,
l = l.next
} while (l !== null);
u === null ? n = u = e : u = u.next = e
} else
n = u = e;
l = {
baseState: a.baseState,
firstBaseUpdate: n,
lastBaseUpdate: u,
shared: a.shared,
callbacks: a.callbacks
},
t.updateQueue = l;
return
}
t = l.lastBaseUpdate,
t === null ? l.firstBaseUpdate = e : t.next = e,
l.lastBaseUpdate = e
}
var Sc = !1;
function sn() {
if (Sc) {
var t = ya;
if (t !== null)
throw t
}
}
function dn(t, e, l, a) {
Sc = !1;
var n = t.updateQueue;
ol = !1;
var u = n.firstBaseUpdate
, c = n.lastBaseUpdate
, r = n.shared.pending;
if (r !== null) {
n.shared.pending = null;
var d = r
, E = d.next;
d.next = null,
c === null ? u = E : c.next = E,
c = d;
var R = t.alternate;
R !== null && (R = R.updateQueue,
r = R.lastBaseUpdate,
r !== c && (r === null ? R.firstBaseUpdate = E : r.next = E,
R.lastBaseUpdate = d))
}
if (u !== null) {
var C = n.baseState;
c = 0,
R = E = d = null,
r = u;
do {
var T = r.lane & -536870913
, A = T !== r.lane;
if (A ? (dt & T) === T : (a & T) === T) {
T !== 0 && T === ga && (Sc = !0),
R !== null && (R = R.next = {
lane: 0,
tag: r.tag,
payload: r.payload,
callback: null,
next: null
});
t: {
var et = t
, F = r;
T = e;
var Tt = l;
switch (F.tag) {
case 1:
if (et = F.payload,
typeof et == "function") {
C = et.call(Tt, C, T);
break t
}
C = et;
break t;
case 3:
et.flags = et.flags & -65537 | 128;
case 0:
if (et = F.payload,
T = typeof et == "function" ? et.call(Tt, C, T) : et,
T == null)
break t;
C = M({}, C, T);
break t;
case 2:
ol = !0
}
}
T = r.callback,
T !== null && (t.flags |= 64,
A && (t.flags |= 8192),
A = n.callbacks,
A === null ? n.callbacks = [T] : A.push(T))
} else
A = {
lane: T,
tag: r.tag,
payload: r.payload,
callback: r.callback,
next: null
},
R === null ? (E = R = A,
d = C) : R = R.next = A,
c |= T;
if (r = r.next,
r === null) {
if (r = n.shared.pending,
r === null)
break;
A = r,
r = A.next,
A.next = null,
n.lastBaseUpdate = A,
n.shared.pending = null
}
} while (!0);
R === null && (d = C),
n.baseState = d,
n.firstBaseUpdate = E,
n.lastBaseUpdate = R,
u === null && (n.shared.lanes = 0),
bl |= c,
t.lanes = c,
t.memoizedState = C
}
}
function kf(t, e) {
if (typeof t != "function")
throw Error(o(191, t));
t.call(e)
}
function qf(t, e) {
var l = t.callbacks;
if (l !== null)
for (t.callbacks = null,
t = 0; t < l.length; t++)
kf(l[t], e)
}
var pa = O(null)
, mu = O(0);
function Yf(t, e) {
t = Pe,
N(mu, t),
N(pa, e),
Pe = t | e.baseLanes
}
function wc() {
N(mu, Pe),
N(pa, pa.current)
}
function xc() {
Pe = mu.current,
k(pa),
k(mu)
}
var sl = 0
, it = null
, xt = null
, Ht = null
, gu = !1
, ba = !1
, Ll = !1
, yu = 0
, hn = 0
, va = null
, Fg = 0;
function Ut() {
throw Error(o(321))
}
function Ec(t, e) {
if (e === null)
return !1;
for (var l = 0; l < e.length && l < t.length; l++)
if (!fe(t[l], e[l]))
return !1;
return !0
}
function Tc(t, e, l, a, n, u) {
return sl = u,
it = e,
e.memoizedState = null,
e.updateQueue = null,
e.lanes = 0,
z.H = t === null || t.memoizedState === null ? xs : Es,
Ll = !1,
u = l(a, n),
Ll = !1,
ba && (u = jf(e, l, a, n)),
Gf(t),
u
}
function Gf(t) {
z.H = xu;
var e = xt !== null && xt.next !== null;
if (sl = 0,
Ht = xt = it = null,
gu = !1,
hn = 0,
va = null,
e)
throw Error(o(300));
t === null || Lt || (t = t.dependencies,
t !== null && ru(t) && (Lt = !0))
}
function jf(t, e, l, a) {
it = t;
var n = 0;
do {
if (ba && (va = null),
hn = 0,
ba = !1,
25 <= n)
throw Error(o(301));
if (n += 1,
Ht = xt = null,
t.updateQueue != null) {
var u = t.updateQueue;
u.lastEffect = null,
u.events = null,
u.stores = null,
u.memoCache != null && (u.memoCache.index = 0)
}
z.H = n0,
u = e(l, a)
} while (ba);
return u
}
function Ig() {
var t = z.H
, e = t.useState()[0];
return e = typeof e.then == "function" ? mn(e) : e,
t = t.useState()[0],
(xt !== null ? xt.memoizedState : null) !== t && (it.flags |= 1024),
e
}
function Ac() {
var t = yu !== 0;
return yu = 0,
t
}
function zc(t, e, l) {
e.updateQueue = t.updateQueue,
e.flags &= -2053,
t.lanes &= ~l
}
function Mc(t) {
if (gu) {
for (t = t.memoizedState; t !== null; ) {
var e = t.queue;
e !== null && (e.pending = null),
t = t.next
}
gu = !1
}
sl = 0,
Ht = xt = it = null,
ba = !1,
hn = yu = 0,
va = null
}
function ue() {
var t = {
memoizedState: null,
baseState: null,
baseQueue: null,
queue: null,
next: null
};
return Ht === null ? it.memoizedState = Ht = t : Ht = Ht.next = t,
Ht
}
function Bt() {
if (xt === null) {
var t = it.alternate;
t = t !== null ? t.memoizedState : null
} else
t = xt.next;
var e = Ht === null ? it.memoizedState : Ht.next;
if (e !== null)
Ht = e,
xt = t;
else {
if (t === null)
throw it.alternate === null ? Error(o(467)) : Error(o(310));
xt = t,
t = {
memoizedState: xt.memoizedState,
baseState: xt.baseState,
baseQueue: xt.baseQueue,
queue: xt.queue,
next: null
},
Ht === null ? it.memoizedState = Ht = t : Ht = Ht.next = t
}
return Ht
}
function Rc() {
return {
lastEffect: null,
events: null,
stores: null,
memoCache: null
}
}
function mn(t) {
var e = hn;
return hn += 1,
va === null && (va = []),
t = Nf(va, t, e),
e = it,
(Ht === null ? e.memoizedState : Ht.next) === null && (e = e.alternate,
z.H = e === null || e.memoizedState === null ? xs : Es),
t
}
function pu(t) {
if (t !== null && typeof t == "object") {
if (typeof t.then == "function")
return mn(t);
if (t.$$typeof === nt)
return Ft(t)
}
throw Error(o(438, String(t)))
}
function Dc(t) {
var e = null
, l = it.updateQueue;
if (l !== null && (e = l.memoCache),
e == null) {
var a = it.alternate;
a !== null && (a = a.updateQueue,
a !== null && (a = a.memoCache,
a != null && (e = {
data: a.data.map(function(n) {
return n.slice()
}),
index: 0
})))
}
if (e == null && (e = {
data: [],
index: 0
}),
l === null && (l = Rc(),
it.updateQueue = l),
l.memoCache = e,
l = e.data[e.index],
l === void 0)
for (l = e.data[e.index] = Array(t),
a = 0; a < t; a++)
l[a] = ee;
return e.index++,
l
}
function Ke(t, e) {
return typeof e == "function" ? e(t) : e
}
function bu(t) {
var e = Bt();
return Oc(e, xt, t)
}
function Oc(t, e, l) {
var a = t.queue;
if (a === null)
throw Error(o(311));
a.lastRenderedReducer = l;
var n = t.baseQueue
, u = a.pending;
if (u !== null) {
if (n !== null) {
var c = n.next;
n.next = u.next,
u.next = c
}
e.baseQueue = n = u,
a.pending = null
}
if (u = t.baseState,
n === null)
t.memoizedState = u;
else {
e = n.next;
var r = c = null
, d = null
, E = e
, R = !1;
do {
var C = E.lane & -536870913;
if (C !== E.lane ? (dt & C) === C : (sl & C) === C) {
var T = E.revertLane;
if (T === 0)
d !== null && (d = d.next = {
lane: 0,
revertLane: 0,
action: E.action,
hasEagerState: E.hasEagerState,
eagerState: E.eagerState,
next: null
}),
C === ga && (R = !0);
else if ((sl & T) === T) {
E = E.next,
T === ga && (R = !0);
continue
} else
C = {
lane: 0,
revertLane: E.revertLane,
action: E.action,
hasEagerState: E.hasEagerState,
eagerState: E.eagerState,
next: null
},
d === null ? (r = d = C,
c = u) : d = d.next = C,
it.lanes |= T,
bl |= T;
C = E.action,
Ll && l(u, C),
u = E.hasEagerState ? E.eagerState : l(u, C)
} else
T = {
lane: C,
revertLane: E.revertLane,
action: E.action,
hasEagerState: E.hasEagerState,
eagerState: E.eagerState,
next: null
},
d === null ? (r = d = T,
c = u) : d = d.next = T,
it.lanes |= C,
bl |= C;
E = E.next
} while (E !== null && E !== e);
if (d === null ? c = u : d.next = r,
!fe(u, t.memoizedState) && (Lt = !0,
R && (l = ya,
l !== null)))
throw l;
t.memoizedState = u,
t.baseState = c,
t.baseQueue = d,
a.lastRenderedState = u
}
return n === null && (a.lanes = 0),
[t.memoizedState, a.dispatch]
}
function _c(t) {
var e = Bt()
, l = e.queue;
if (l === null)
throw Error(o(311));
l.lastRenderedReducer = t;
var a = l.dispatch
, n = l.pending
, u = e.memoizedState;
if (n !== null) {
l.pending = null;
var c = n = n.next;
do
u = t(u, c.action),
c = c.next;
while (c !== n);
fe(u, e.memoizedState) || (Lt = !0),
e.memoizedState = u,
e.baseQueue === null && (e.baseState = u),
l.lastRenderedState = u
}
return [u, a]
}
function Lf(t, e, l) {
var a = it
, n = Bt()
, u = pt;
if (u) {
if (l === void 0)
throw Error(o(407));
l = l()
} else
l = e();
var c = !fe((xt || n).memoizedState, l);
c && (n.memoizedState = l,
Lt = !0),
n = n.queue;
var r = Vf.bind(null, a, n, t);
if (gn(2048, 8, r, [t]),
n.getSnapshot !== e || c || Ht !== null && Ht.memoizedState.tag & 1) {
if (a.flags |= 2048,
Sa(9, vu(), Qf.bind(null, a, n, l, e), null),
Rt === null)
throw Error(o(349));
u || (sl & 124) !== 0 || Xf(a, e, l)
}
return l
}
function Xf(t, e, l) {
t.flags |= 16384,
t = {
getSnapshot: e,
value: l
},
e = it.updateQueue,
e === null ? (e = Rc(),
it.updateQueue = e,
e.stores = [t]) : (l = e.stores,
l === null ? e.stores = [t] : l.push(t))
}
function Qf(t, e, l, a) {
e.value = l,
e.getSnapshot = a,
Zf(e) && Kf(t)
}
function Vf(t, e, l) {
return l(function() {
Zf(e) && Kf(t)
})
}
function Zf(t) {
var e = t.getSnapshot;
t = t.value;
try {
var l = e();
return !fe(t, l)
} catch {
return !0
}
}
function Kf(t) {
var e = sa(t, 2);
e !== null && ye(e, t, 2)
}
function Cc(t) {
var e = ue();
if (typeof t == "function") {
var l = t;
if (t = l(),
Ll) {
nl(!0);
try {
l()
} finally {
nl(!1)
}
}
}
return e.memoizedState = e.baseState = t,
e.queue = {
pending: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: Ke,
lastRenderedState: t
},
e
}
function Jf(t, e, l, a) {
return t.baseState = l,
Oc(t, xt, typeof a == "function" ? a : Ke)
}
function Pg(t, e, l, a, n) {
if (wu(t))
throw Error(o(485));
if (t = e.action,
t !== null) {
var u = {
payload: n,
action: t,
next: null,
isTransition: !0,
status: "pending",
value: null,
reason: null,
listeners: [],
then: function(c) {
u.listeners.push(c)
}
};
z.T !== null ? l(!0) : u.isTransition = !1,
a(u),
l = e.pending,
l === null ? (u.next = e.pending = u,
$f(e, u)) : (u.next = l.next,
e.pending = l.next = u)
}
}
function $f(t, e) {
var l = e.action
, a = e.payload
, n = t.state;
if (e.isTransition) {
var u = z.T
, c = {};
z.T = c;
try {
var r = l(n, a)
, d = z.S;
d !== null && d(c, r),
Wf(t, e, r)
} catch (E) {
Uc(t, e, E)
} finally {
z.T = u
}
} else
try {
u = l(n, a),
Wf(t, e, u)
} catch (E) {
Uc(t, e, E)
}
}
function Wf(t, e, l) {
l !== null && typeof l == "object" && typeof l.then == "function" ? l.then(function(a) {
Ff(t, e, a)
}, function(a) {
return Uc(t, e, a)
}) : Ff(t, e, l)
}
function Ff(t, e, l) {
e.status = "fulfilled",
e.value = l,
If(e),
t.state = l,
e = t.pending,
e !== null && (l = e.next,
l === e ? t.pending = null : (l = l.next,
e.next = l,
$f(t, l)))
}
function Uc(t, e, l) {
var a = t.pending;
if (t.pending = null,
a !== null) {
a = a.next;
do
e.status = "rejected",
e.reason = l,
If(e),
e = e.next;
while (e !== a)
}
t.action = null
}
function If(t) {
t = t.listeners;
for (var e = 0; e < t.length; e++)
(0,
t[e])()
}
function Pf(t, e) {
return e
}
function ts(t, e) {
if (pt) {
var l = Rt.formState;
if (l !== null) {
t: {
var a = it;
if (pt) {
if (_t) {
e: {
for (var n = _t, u = Ne; n.nodeType !== 8; ) {
if (!u) {
n = null;
break e
}
if (n = _e(n.nextSibling),
n === null) {
n = null;
break e
}
}
u = n.data,
n = u === "F!" || u === "F" ? n : null
}
if (n) {
_t = _e(n.nextSibling),
a = n.data === "F!";
break t
}
}
ql(a)
}
a = !1
}
a && (e = l[0])
}
}
return l = ue(),
l.memoizedState = l.baseState = e,
a = {
pending: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: Pf,
lastRenderedState: e
},
l.queue = a,
l = vs.bind(null, it, a),
a.dispatch = l,
a = Cc(!1),
u = qc.bind(null, it, !1, a.queue),
a = ue(),
n = {
state: e,
dispatch: null,
action: t,
pending: null
},
a.queue = n,
l = Pg.bind(null, it, n, u, l),
n.dispatch = l,
a.memoizedState = t,
[e, l, !1]
}
function es(t) {
var e = Bt();
return ls(e, xt, t)
}
function ls(t, e, l) {
if (e = Oc(t, e, Pf)[0],
t = bu(Ke)[0],
typeof e == "object" && e !== null && typeof e.then == "function")
try {
var a = mn(e)
} catch (c) {
throw c === on ? du : c
}
else
a = e;
e = Bt();
var n = e.queue
, u = n.dispatch;
return l !== e.memoizedState && (it.flags |= 2048,
Sa(9, vu(), t0.bind(null, n, l), null)),
[a, u, t]
}
function t0(t, e) {
t.action = e
}
function as(t) {
var e = Bt()
, l = xt;
if (l !== null)
return ls(e, l, t);
Bt(),
e = e.memoizedState,
l = Bt();
var a = l.queue.dispatch;
return l.memoizedState = t,
[e, a, !1]
}
function Sa(t, e, l, a) {
return t = {
tag: t,
create: l,
deps: a,
inst: e,
next: null
},
e = it.updateQueue,
e === null && (e = Rc(),
it.updateQueue = e),
l = e.lastEffect,
l === null ? e.lastEffect = t.next = t : (a = l.next,
l.next = t,
t.next = a,
e.lastEffect = t),
t
}
function vu() {
return {
destroy: void 0,
resource: void 0
}
}
function ns() {
return Bt().memoizedState
}
function Su(t, e, l, a) {
var n = ue();
a = a === void 0 ? null : a,
it.flags |= t,
n.memoizedState = Sa(1 | e, vu(), l, a)
}
function gn(t, e, l, a) {
var n = Bt();
a = a === void 0 ? null : a;
var u = n.memoizedState.inst;
xt !== null && a !== null && Ec(a, xt.memoizedState.deps) ? n.memoizedState = Sa(e, u, l,
a) : (it.flags |= t,
n.memoizedState = Sa(1 | e, u, l, a))
}
function us(t, e) {
Su(8390656, 8, t, e)
}
function is(t, e) {
gn(2048, 8, t, e)
}
function cs(t, e) {
return gn(4, 2, t, e)
}
function os(t, e) {
return gn(4, 4, t, e)
}
function rs(t, e) {
if (typeof e == "function") {
t = t();
var l = e(t);
return function() {
typeof l == "function" ? l() : e(null)
}
}
if (e != null)
return t = t(),
e.current = t,
function() {
e.current = null
}
}
function fs(t, e, l) {
l = l != null ? l.concat([t]) : null,
gn(4, 4, rs.bind(null, e, t), l)
}
function Nc() {}
function ss(t, e) {
var l = Bt();
e = e === void 0 ? null : e;
var a = l.memoizedState;
return e !== null && Ec(e, a[1]) ? a[0] : (l.memoizedState = [t, e],
t)
}
function ds(t, e) {
var l = Bt();
e = e === void 0 ? null : e;
var a = l.memoizedState;
if (e !== null && Ec(e, a[1]))
return a[0];
if (a = t(),
Ll) {
nl(!0);
try {
t()
} finally {
nl(!1)
}
}
return l.memoizedState = [a, e],
a
}
function Hc(t, e, l) {
return l === void 0 || (sl & 1073741824) !== 0 ? t.memoizedState = e : (t.memoizedState = l,
t = gd(),
it.lanes |= t,
bl |= t,
l)
}
function hs(t, e, l, a) {
return fe(l, e) ? l : pa.current !== null ? (t = Hc(t, l, a),
fe(t, e) || (Lt = !0),
t) : (sl & 42) === 0 ? (Lt = !0,
t.memoizedState = l) : (t = gd(),
it.lanes |= t,
bl |= t,
e)
}
function ms(t, e, l, a, n) {
var u = H.p;
H.p = u !== 0 && 8 > u ? u : 8;
var c = z.T
, r = {};
z.T = r,
qc(t, !1, e, l);
try {
var d = n()
, E = z.S;
if (E !== null && E(r, d),
d !== null && typeof d == "object" && typeof d.then == "function") {
var R = Wg(d, a);
yn(t, e, R, ge(t))
} else
yn(t, e, a, ge(t))
} catch (C) {
yn(t, e, {
then: function() {},
status: "rejected",
reason: C
}, ge())
} finally {
H.p = u,
z.T = c
}
}
function e0() {}
function Bc(t, e, l, a) {
if (t.tag !== 5)
throw Error(o(476));
var n = gs(t).queue;
ms(t, n, e, U, l === null ? e0 : function() {
return ys(t),
l(a)
}
)
}
function gs(t) {
var e = t.memoizedState;
if (e !== null)
return e;
e = {
memoizedState: U,
baseState: U,
baseQueue: null,
queue: {
pending: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: Ke,
lastRenderedState: U
},
next: null
};
var l = {};
return e.next = {
memoizedState: l,
baseState: l,
baseQueue: null,
queue: {
pending: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: Ke,
lastRenderedState: l
},
next: null
},
t.memoizedState = e,
t = t.alternate,
t !== null && (t.memoizedState = e),
e
}
function ys(t) {
var e = gs(t).next.queue;
yn(t, e, {}, ge())
}
function kc() {
return Ft(Nn)
}
function ps() {
return Bt().memoizedState
}
function bs() {
return Bt().memoizedState
}
function l0(t) {
for (var e = t.return; e !== null; ) {
switch (e.tag) {
case 24:
case 3:
var l = ge();
t = rl(l);
var a = fl(e, t, l);
a !== null && (ye(a, e, l),
fn(a, e, l)),
e = {
cache: hc()
},
t.payload = e;
return
}
e = e.return
}
}
function a0(t, e, l) {
var a = ge();
l = {
lane: a,
revertLane: 0,
action: l,
hasEagerState: !1,
eagerState: null,
next: null
},
wu(t) ? Ss(e, l) : (l = ac(t, e, l, a),
l !== null && (ye(l, t, a),
ws(l, e, a)))
}
function vs(t, e, l) {
var a = ge();
yn(t, e, l, a)
}
function yn(t, e, l, a) {
var n = {
lane: a,
revertLane: 0,
action: l,
hasEagerState: !1,
eagerState: null,
next: null
};
if (wu(t))
Ss(e, n);
else {
var u = t.alternate;
if (t.lanes === 0 && (u === null || u.lanes === 0) && (u = e.lastRenderedReducer,
u !== null))
try {
var c = e.lastRenderedState
, r = u(c, l);
if (n.hasEagerState = !0,
n.eagerState = r,
fe(r, c))
return nu(t, e, n, 0),
Rt === null && au(),
!1
} catch {} finally {}
if (l = ac(t, e, n, a),
l !== null)
return ye(l, t, a),
ws(l, e, a),
!0
}
return !1
}
function qc(t, e, l, a) {
if (a = {
lane: 2,
revertLane: po(),
action: a,
hasEagerState: !1,
eagerState: null,
next: null
},
wu(t)) {
if (e)
throw Error(o(479))
} else
e = ac(t, l, a, 2),
e !== null && ye(e, t, 2)
}
function wu(t) {
var e = t.alternate;
return t === it || e !== null && e === it
}
function Ss(t, e) {
ba = gu = !0;
var l = t.pending;
l === null ? e.next = e : (e.next = l.next,
l.next = e),
t.pending = e
}
function ws(t, e, l) {
if ((l & 4194048) !== 0) {
var a = e.lanes;
a &= t.pendingLanes,
l |= a,
e.lanes = l,
Rr(t, l)
}
}
var xu = {
readContext: Ft,
use: pu,
useCallback: Ut,
useContext: Ut,
useEffect: Ut,
useImperativeHandle: Ut,
useLayoutEffect: Ut,
useInsertionEffect: Ut,
useMemo: Ut,
useReducer: Ut,
useRef: Ut,
useState: Ut,
useDebugValue: Ut,
useDeferredValue: Ut,
useTransition: Ut,
useSyncExternalStore: Ut,
useId: Ut,
useHostTransitionStatus: Ut,
useFormState: Ut,
useActionState: Ut,
useOptimistic: Ut,
useMemoCache: Ut,
useCacheRefresh: Ut
}
, xs = {
readContext: Ft,
use: pu,
useCallback: function(t, e) {
return ue().memoizedState = [t, e === void 0 ? null : e],
t
},
useContext: Ft,
useEffect: us,
useImperativeHandle: function(t, e, l) {
l = l != null ? l.concat([t]) : null,
Su(4194308, 4, rs.bind(null, e, t), l)
},
useLayoutEffect: function(t, e) {
return Su(4194308, 4, t, e)
},
useInsertionEffect: function(t, e) {
Su(4, 2, t, e)
},
useMemo: function(t, e) {
var l = ue();
e = e === void 0 ? null : e;
var a = t();
if (Ll) {
nl(!0);
try {
t()
} finally {
nl(!1)
}
}
return l.memoizedState = [a, e],
a
},
useReducer: function(t, e, l) {
var a = ue();
if (l !== void 0) {
var n = l(e);
if (Ll) {
nl(!0);
try {
l(e)
} finally {
nl(!1)
}
}
} else
n = e;
return a.memoizedState = a.baseState = n,
t = {
pending: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: t,
lastRenderedState: n
},
a.queue = t,
t = t.dispatch = a0.bind(null, it, t),
[a.memoizedState, t]
},
useRef: function(t) {
var e = ue();
return t = {
current: t
},
e.memoizedState = t
},
useState: function(t) {
t = Cc(t);
var e = t.queue
, l = vs.bind(null, it, e);
return e.dispatch = l,
[t.memoizedState, l]
},
useDebugValue: Nc,
useDeferredValue: function(t, e) {
var l = ue();
return Hc(l, t, e)
},
useTransition: function() {
var t = Cc(!1);
return t = ms.bind(null, it, t.queue, !0, !1),
ue().memoizedState = t,
[!1, t]
},
useSyncExternalStore: function(t, e, l) {
var a = it
, n = ue();
if (pt) {
if (l === void 0)
throw Error(o(407));
l = l()
} else {
if (l = e(),
Rt === null)
throw Error(o(349));
(dt & 124) !== 0 || Xf(a, e, l)
}
n.memoizedState = l;
var u = {
value: l,
getSnapshot: e
};
return n.queue = u,
us(Vf.bind(null, a, u, t), [t]),
a.flags |= 2048,
Sa(9, vu(), Qf.bind(null, a, u, l, e), null),
l
},
useId: function() {
var t = ue()
, e = Rt.identifierPrefix;
if (pt) {
var l = Qe
, a = Xe;
l = (a & ~(1 << 32 - re(a) - 1)).toString(32) + l,
e = "«" + e + "R" + l,
l = yu++,
0 < l && (e += "H" + l.toString(32)),
e += "»"
} else
l = Fg++,
e = "«" + e + "r" + l.toString(32) + "»";
return t.memoizedState = e
},
useHostTransitionStatus: kc,
useFormState: ts,
useActionState: ts,
useOptimistic: function(t) {
var e = ue();
e.memoizedState = e.baseState = t;
var l = {
pending: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: null,
lastRenderedState: null
};
return e.queue = l,
e = qc.bind(null, it, !0, l),
l.dispatch = e,
[t, e]
},
useMemoCache: Dc,
useCacheRefresh: function() {
return ue().memoizedState = l0.bind(null, it)
}
}
, Es = {
readContext: Ft,
use: pu,
useCallback: ss,
useContext: Ft,
useEffect: is,
useImperativeHandle: fs,
useInsertionEffect: cs,
useLayoutEffect: os,
useMemo: ds,
useReducer: bu,
useRef: ns,
useState: function() {
return bu(Ke)
},
useDebugValue: Nc,
useDeferredValue: function(t, e) {
var l = Bt();
return hs(l, xt.memoizedState, t, e)
},
useTransition: function() {
var t = bu(Ke)[0]
, e = Bt().memoizedState;
return [typeof t == "boolean" ? t : mn(t), e]
},
useSyncExternalStore: Lf,
useId: ps,
useHostTransitionStatus: kc,
useFormState: es,
useActionState: es,
useOptimistic: function(t, e) {
var l = Bt();
return Jf(l, xt, t, e)
},
useMemoCache: Dc,
useCacheRefresh: bs
}
, n0 = {
readContext: Ft,
use: pu,
useCallback: ss,
useContext: Ft,
useEffect: is,
useImperativeHandle: fs,
useInsertionEffect: cs,
useLayoutEffect: os,
useMemo: ds,
useReducer: _c,
useRef: ns,
useState: function() {
return _c(Ke)
},
useDebugValue: Nc,
useDeferredValue: function(t, e) {
var l = Bt();
return xt === null ? Hc(l, t, e) : hs(l, xt.memoizedState, t, e)
},
useTransition: function() {
var t = _c(Ke)[0]
, e = Bt().memoizedState;
return [typeof t == "boolean" ? t : mn(t), e]
},
useSyncExternalStore: Lf,
useId: ps,
useHostTransitionStatus: kc,
useFormState: as,
useActionState: as,
useOptimistic: function(t, e) {
var l = Bt();
return xt !== null ? Jf(l, xt, t, e) : (l.baseState = t,
[t, l.queue.dispatch])
},
useMemoCache: Dc,
useCacheRefresh: bs
}
, wa = null
, pn = 0;
function Eu(t) {
var e = pn;
return pn += 1,
wa === null && (wa = []),
Nf(wa, t, e)
}
function bn(t, e) {
e = e.props.ref,
t.ref = e !== void 0 ? e : null
}
function Tu(t, e) {
throw e.$$typeof === _ ? Error(o(525)) : (t = Object.prototype.toString.call(e),
Error(o(31, t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" :
t)))
}
function Ts(t) {
var e = t._init;
return e(t._payload)
}
function As(t) {
function e(w, v) {
if (t) {
var x = w.deletions;
x === null ? (w.deletions = [v],
w.flags |= 16) : x.push(v)
}
}
function l(w, v) {
if (!t)
return null;
for (; v !== null; )
e(w, v),
v = v.sibling;
return null
}
function a(w) {
for (var v = new Map; w !== null; )
w.key !== null ? v.set(w.key, w) : v.set(w.index, w),
w = w.sibling;
return v
}
function n(w, v) {
return w = Le(w, v),
w.index = 0,
w.sibling = null,
w
}
function u(w, v, x) {
return w.index = x,
t ? (x = w.alternate,
x !== null ? (x = x.index,
x < v ? (w.flags |= 67108866,
v) : x) : (w.flags |= 67108866,
v)) : (w.flags |= 1048576,
v)
}
function c(w) {
return t && w.alternate === null && (w.flags |= 67108866),
w
}
function r(w, v, x, D) {
return v === null || v.tag !== 6 ? (v = uc(x, w.mode, D),
v.return = w,
v) : (v = n(v, x),
v.return = w,
v)
}
function d(w, v, x, D) {
var Q = x.type;
return Q === Y ? R(w, v, x.props.children, D, x.key) : v !== null && (v.elementType === Q
|| typeof Q == "object" && Q !== null && Q.$$typeof === Z && Ts(Q) === v.type) ? (v =
n(v, x.props),
bn(v, x),
v.return = w,
v) : (v = iu(x.type, x.key, x.props, null, w.mode, D),
bn(v, x),
v.return = w,
v)
}
function E(w, v, x, D) {
return v === null || v.tag !== 4 || v.stateNode.containerInfo !== x.containerInfo ||
v.stateNode.implementation !== x.implementation ? (v = ic(x, w.mode, D),
v.return = w,
v) : (v = n(v, x.children || []),
v.return = w,
v)
}
function R(w, v, x, D, Q) {
return v === null || v.tag !== 7 ? (v = Nl(x, w.mode, D, Q),
v.return = w,
v) : (v = n(v, x),
v.return = w,
v)
}
function C(w, v, x) {
if (typeof v == "string" && v !== "" || typeof v == "number" || typeof v == "bigint")
return v = uc("" + v, w.mode, x),
v.return = w,
v;
if (typeof v == "object" && v !== null) {
switch (v.$$typeof) {
case q:
return x = iu(v.type, v.key, v.props, null, w.mode, x),
bn(x, v),
x.return = w,
x;
case G:
return v = ic(v, w.mode, x),
v.return = w,
v;
case Z:
var D = v._init;
return v = D(v._payload),
C(w, v, x)
}
if (ct(v) || bt(v))
return v = Nl(v, w.mode, x, null),
v.return = w,
v;
if (typeof v.then == "function")
return C(w, Eu(v), x);
if (v.$$typeof === nt)
return C(w, fu(w, v), x);
Tu(w, v)
}
return null
}
function T(w, v, x, D) {
var Q = v !== null ? v.key : null;
if (typeof x == "string" && x !== "" || typeof x == "number" || typeof x == "bigint")
return Q !== null ? null : r(w, v, "" + x, D);
if (typeof x == "object" && x !== null) {
switch (x.$$typeof) {
case q:
return x.key === Q ? d(w, v, x, D) : null;
case G:
return x.key === Q ? E(w, v, x, D) : null;
case Z:
return Q = x._init,
x = Q(x._payload),
T(w, v, x, D)
}
if (ct(x) || bt(x))
return Q !== null ? null : R(w, v, x, D, null);
if (typeof x.then == "function")
return T(w, v, Eu(x), D);
if (x.$$typeof === nt)
return T(w, v, fu(w, x), D);
Tu(w, x)
}
return null
}
function A(w, v, x, D, Q) {
if (typeof D == "string" && D !== "" || typeof D == "number" || typeof D == "bigint")
return w = w.get(x) || null,
r(v, w, "" + D, Q);
if (typeof D == "object" && D !== null) {
switch (D.$$typeof) {
case q:
return w = w.get(D.key === null ? x : D.key) || null,
d(v, w, D, Q);
case G:
return w = w.get(D.key === null ? x : D.key) || null,
E(v, w, D, Q);
case Z:
var ot = D._init;
return D = ot(D._payload),
A(w, v, x, D, Q)
}
if (ct(D) || bt(D))
return w = w.get(x) || null,
R(v, w, D, Q, null);
if (typeof D.then == "function")
return A(w, v, x, Eu(D), Q);
if (D.$$typeof === nt)
return A(w, v, x, fu(v, D), Q);
Tu(v, D)
}
return null
}
function et(w, v, x, D) {
for (var Q = null, ot = null, J = v, I = v = 0, Qt = null; J !== null && I < x.length; I++) {
J.index > I ? (Qt = J,
J = null) : Qt = J.sibling;
var mt = T(w, J, x[I], D);
if (mt === null) {
J === null && (J = Qt);
break
}
t && J && mt.alternate === null && e(w, J),
v = u(mt, v, I),
ot === null ? Q = mt : ot.sibling = mt,
ot = mt,
J = Qt
}
if (I === x.length)
return l(w, J),
pt && Bl(w, I),
Q;
if (J === null) {
for (; I < x.length; I++)
J = C(w, x[I], D),
J !== null && (v = u(J, v, I),
ot === null ? Q = J : ot.sibling = J,
ot = J);
return pt && Bl(w, I),
Q
}
for (J = a(J); I < x.length; I++)
Qt = A(J, w, I, x[I], D),
Qt !== null && (t && Qt.alternate !== null && J.delete(Qt.key === null ? I : Qt.key),
v = u(Qt, v, I),
ot === null ? Q = Qt : ot.sibling = Qt,
ot = Qt);
return t && J.forEach(function(Ml) {
return e(w, Ml)
}),
pt && Bl(w, I),
Q
}
function F(w, v, x, D) {
if (x == null)
throw Error(o(151));
for (var Q = null, ot = null, J = v, I = v = 0, Qt = null, mt = x.next(); J !== null && !mt.done;
I++,
mt = x.next()) {
J.index > I ? (Qt = J,
J = null) : Qt = J.sibling;
var Ml = T(w, J, mt.value, D);
if (Ml === null) {
J === null && (J = Qt);
break
}
t && J && Ml.alternate === null && e(w, J),
v = u(Ml, v, I),
ot === null ? Q = Ml : ot.sibling = Ml,
ot = Ml,
J = Qt
}
if (mt.done)
return l(w, J),
pt && Bl(w, I),
Q;
if (J === null) {
for (; !mt.done; I++,
mt = x.next())
mt = C(w, mt.value, D),
mt !== null && (v = u(mt, v, I),
ot === null ? Q = mt : ot.sibling = mt,
ot = mt);
return pt && Bl(w, I),
Q
}
for (J = a(J); !mt.done; I++,
mt = x.next())
mt = A(J, w, I, mt.value, D),
mt !== null && (t && mt.alternate !== null && J.delete(mt.key === null ? I : mt.key),
v = u(mt, v, I),
ot === null ? Q = mt : ot.sibling = mt,
ot = mt);
return t && J.forEach(function(uy) {
return e(w, uy)
}),
pt && Bl(w, I),
Q
}
function Tt(w, v, x, D) {
if (typeof x == "object" && x !== null && x.type === Y && x.key === null && (x =
x.props.children),
typeof x == "object" && x !== null) {
switch (x.$$typeof) {
case q:
t: {
for (var Q = x.key; v !== null; ) {
if (v.key === Q) {
if (Q = x.type,
Q === Y) {
if (v.tag === 7) {
l(w, v.sibling),
D = n(v, x.props.children),
D.return = w,
w = D;
break t
}
} else if (v.elementType === Q || typeof Q == "object" && Q !== null && Q.$$typeof === Z
&& Ts(Q) === v.type) {
l(w, v.sibling),
D = n(v, x.props),
bn(D, x),
D.return = w,
w = D;
break t
}
l(w, v);
break
} else
e(w, v);
v = v.sibling
}
x.type === Y ? (D = Nl(x.props.children, w.mode, D, x.key),
D.return = w,
w = D) : (D = iu(x.type, x.key, x.props, null, w.mode, D),
bn(D, x),
D.return = w,
w = D)
}
return c(w);
case G:
t: {
for (Q = x.key; v !== null; ) {
if (v.key === Q)
if (v.tag === 4 && v.stateNode.containerInfo === x.containerInfo &&
v.stateNode.implementation === x.implementation) {
l(w, v.sibling),
D = n(v, x.children || []),
D.return = w,
w = D;
break t
} else {
l(w, v);
break
}
else
e(w, v);
v = v.sibling
}
D = ic(x, w.mode, D),
D.return = w,
w = D
}
return c(w);
case Z:
return Q = x._init,
x = Q(x._payload),
Tt(w, v, x, D)
}
if (ct(x))
return et(w, v, x, D);
if (bt(x)) {
if (Q = bt(x),
typeof Q != "function")
throw Error(o(150));
return x = Q.call(x),
F(w, v, x, D)
}
if (typeof x.then == "function")
return Tt(w, v, Eu(x), D);
if (x.$$typeof === nt)
return Tt(w, v, fu(w, x), D);
Tu(w, x)
}
return typeof x == "string" && x !== "" || typeof x == "number" || typeof x == "bigint" ? (x =
"" + x,
v !== null && v.tag === 6 ? (l(w, v.sibling),
D = n(v, x),
D.return = w,
w = D) : (l(w, v),
D = uc(x, w.mode, D),
D.return = w,
w = D),
c(w)) : l(w, v)
}
return function(w, v, x, D) {
try {
pn = 0;
var Q = Tt(w, v, x, D);
return wa = null,
Q
} catch (J) {
if (J === on || J === du)
throw J;
var ot = se(29, J, null, w.mode);
return ot.lanes = D,
ot.return = w,
ot
} finally {}
}
}
var xa = As(!0)
, zs = As(!1)
, Ae = O(null)
, He = null;
function dl(t) {
var e = t.alternate;
N(Gt, Gt.current & 1),
N(Ae, t),
He === null && (e === null || pa.current !== null || e.memoizedState !== null) && (He = t)
}
function Ms(t) {
if (t.tag === 22) {
if (N(Gt, Gt.current),
N(Ae, t),
He === null) {
var e = t.alternate;
e !== null && e.memoizedState !== null && (He = t)
}
} else
hl()
}
function hl() {
N(Gt, Gt.current),
N(Ae, Ae.current)
}
function Je(t) {
k(Ae),
He === t && (He = null),
k(Gt)
}
var Gt = O(0);
function Au(t) {
for (var e = t; e !== null; ) {
if (e.tag === 13) {
var l = e.memoizedState;
if (l !== null && (l = l.dehydrated,
l === null || l.data === "$?" || Do(l)))
return e
} else if (e.tag === 19 && e.memoizedProps.revealOrder !== void 0) {
if ((e.flags & 128) !== 0)
return e
} else if (e.child !== null) {
e.child.return = e,
e = e.child;
continue
}
if (e === t)
break;
for (; e.sibling === null; ) {
if (e.return === null || e.return === t)
return null;
e = e.return
}
e.sibling.return = e.return,
e = e.sibling
}
return null
}
function Yc(t, e, l, a) {
e = t.memoizedState,
l = l(a, e),
l = l == null ? e : M({}, e, l),
t.memoizedState = l,
t.lanes === 0 && (t.updateQueue.baseState = l)
}
var Gc = {
enqueueSetState: function(t, e, l) {
t = t._reactInternals;
var a = ge()
, n = rl(a);
n.payload = e,
l != null && (n.callback = l),
e = fl(t, n, a),
e !== null && (ye(e, t, a),
fn(e, t, a))
},
enqueueReplaceState: function(t, e, l) {
t = t._reactInternals;
var a = ge()
, n = rl(a);
n.tag = 1,
n.payload = e,
l != null && (n.callback = l),
e = fl(t, n, a),
e !== null && (ye(e, t, a),
fn(e, t, a))
},
enqueueForceUpdate: function(t, e) {
t = t._reactInternals;
var l = ge()
, a = rl(l);
a.tag = 2,
e != null && (a.callback = e),
e = fl(t, a, l),
e !== null && (ye(e, t, l),
fn(e, t, l))
}
};
function Rs(t, e, l, a, n, u, c) {
return t = t.stateNode,
typeof t.shouldComponentUpdate == "function" ? t.shouldComponentUpdate(a, u, c) :
e.prototype && e.prototype.isPureReactComponent ? !Pa(l, a) || !Pa(n, u) : !0
}
function Ds(t, e, l, a) {
t = e.state,
typeof e.componentWillReceiveProps == "function" && e.componentWillReceiveProps(l, a),
typeof e.UNSAFE_componentWillReceiveProps == "function" &&
e.UNSAFE_componentWillReceiveProps(l, a),
e.state !== t && Gc.enqueueReplaceState(e, e.state, null)
}
function Xl(t, e) {
var l = e;
if ("ref"in e) {
l = {};
for (var a in e)
a !== "ref" && (l[a] = e[a])
}
if (t = t.defaultProps) {
l === e && (l = M({}, l));
for (var n in t)
l[n] === void 0 && (l[n] = t[n])
}
return l
}
var zu = typeof reportError == "function" ? reportError : function(t) {
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
var e = new window.ErrorEvent("error",{
bubbles: !0,
cancelable: !0,
message: typeof t == "object" && t !== null && typeof t.message == "string" ?
String(t.message) : String(t),
error: t
});
if (!window.dispatchEvent(e))
return
} else if (typeof process == "object" && typeof process.emit == "function") {
process.emit("uncaughtException", t);
return
}
console.error(t)
}
;
function Os(t) {
zu(t)
}
function _s(t) {
console.error(t)
}
function Cs(t) {
zu(t)
}
function Mu(t, e) {
try {
var l = t.onUncaughtError;
l(e.value, {
componentStack: e.stack
})
} catch (a) {
setTimeout(function() {
throw a
})
}
}
function Us(t, e, l) {
try {
var a = t.onCaughtError;
a(l.value, {
componentStack: l.stack,
errorBoundary: e.tag === 1 ? e.stateNode : null
})
} catch (n) {
setTimeout(function() {
throw n
})
}
}
function jc(t, e, l) {
return l = rl(l),
l.tag = 3,
l.payload = {
element: null
},
l.callback = function() {
Mu(t, e)
}
,
l
}
function Ns(t) {
return t = rl(t),
t.tag = 3,
t
}
function Hs(t, e, l, a) {
var n = l.type.getDerivedStateFromError;
if (typeof n == "function") {
var u = a.value;
t.payload = function() {
return n(u)
}
,
t.callback = function() {
Us(e, l, a)
}
}
var c = l.stateNode;
c !== null && typeof c.componentDidCatch == "function" && (t.callback = function() {
Us(e, l, a),
typeof n != "function" && (vl === null ? vl = new Set([this]) : vl.add(this));
var r = a.stack;
this.componentDidCatch(a.value, {
componentStack: r !== null ? r : ""
})
}
)
}
function u0(t, e, l, a, n) {
if (l.flags |= 32768,
a !== null && typeof a == "object" && typeof a.then == "function") {
if (e = l.alternate,
e !== null && nn(e, l, n, !0),
l = Ae.current,
l !== null) {
switch (l.tag) {
case 13:
return He === null ? so() : l.alternate === null && Ct === 0 && (Ct = 3),
l.flags &= -257,
l.flags |= 65536,
l.lanes = n,
a === yc ? l.flags |= 16384 : (e = l.updateQueue,
e === null ? l.updateQueue = new Set([a]) : e.add(a),
mo(t, a, n)),
!1;
case 22:
return l.flags |= 65536,
a === yc ? l.flags |= 16384 : (e = l.updateQueue,
e === null ? (e = {
transitions: null,
markerInstances: null,
retryQueue: new Set([a])
},
l.updateQueue = e) : (l = e.retryQueue,
l === null ? e.retryQueue = new Set([a]) : l.add(a)),
mo(t, a, n)),
!1
}
throw Error(o(435, l.tag))
}
return mo(t, a, n),
so(),
!1
}
if (pt)
return e = Ae.current,
e !== null ? ((e.flags & 65536) === 0 && (e.flags |= 256),
e.flags |= 65536,
e.lanes = n,
a !== rc && (t = Error(o(422), {
cause: a
}),
an(we(t, l)))) : (a !== rc && (e = Error(o(423), {
cause: a
}),
an(we(e, l))),
t = t.current.alternate,
t.flags |= 65536,
n &= -n,
t.lanes |= n,
a = we(a, l),
n = jc(t.stateNode, a, n),
vc(t, n),
Ct !== 4 && (Ct = 2)),
!1;
var u = Error(o(520), {
cause: a
});
if (u = we(u, l),
An === null ? An = [u] : An.push(u),
Ct !== 4 && (Ct = 2),
e === null)
return !0;
a = we(a, l),
l = e;
do {
switch (l.tag) {
case 3:
return l.flags |= 65536,
t = n & -n,
l.lanes |= t,
t = jc(l.stateNode, a, t),
vc(l, t),
!1;
case 1:
if (e = l.type,
u = l.stateNode,
(l.flags & 128) === 0 && (typeof e.getDerivedStateFromError == "function" || u !== null &&
typeof u.componentDidCatch == "function" && (vl === null || !vl.has(u))))
return l.flags |= 65536,
n &= -n,
l.lanes |= n,
n = Ns(n),
Hs(n, t, l, a),
vc(l, n),
!1
}
l = l.return
} while (l !== null);
return !1
}
var Bs = Error(o(461))
, Lt = !1;
function Vt(t, e, l, a) {
e.child = t === null ? zs(e, null, l, a) : xa(e, t.child, l, a)
}
function ks(t, e, l, a, n) {
l = l.render;
var u = e.ref;
if ("ref"in a) {
var c = {};
for (var r in a)
r !== "ref" && (c[r] = a[r])
} else
c = a;
return Gl(e),
a = Tc(t, e, l, c, u, n),
r = Ac(),
t !== null && !Lt ? (zc(t, e, n),
$e(t, e, n)) : (pt && r && cc(e),
e.flags |= 1,
Vt(t, e, a, n),
e.child)
}
function qs(t, e, l, a, n) {
if (t === null) {
var u = l.type;
return typeof u == "function" && !nc(u) && u.defaultProps === void 0 && l.compare ===
null ? (e.tag = 15,
e.type = u,
Ys(t, e, u, a, n)) : (t = iu(l.type, null, a, e, e.mode, n),
t.ref = e.ref,
t.return = e,
e.child = t)
}
if (u = t.child,
!$c(t, n)) {
var c = u.memoizedProps;
if (l = l.compare,
l = l !== null ? l : Pa,
l(c, a) && t.ref === e.ref)
return $e(t, e, n)
}
return e.flags |= 1,
t = Le(u, a),
t.ref = e.ref,
t.return = e,
e.child = t
}
function Ys(t, e, l, a, n) {
if (t !== null) {
var u = t.memoizedProps;
if (Pa(u, a) && t.ref === e.ref)
if (Lt = !1,
e.pendingProps = a = u,
$c(t, n))
(t.flags & 131072) !== 0 && (Lt = !0);
else
return e.lanes = t.lanes,
$e(t, e, n)
}
return Lc(t, e, l, a, n)
}
function Gs(t, e, l) {
var a = e.pendingProps
, n = a.children
, u = t !== null ? t.memoizedState : null;
if (a.mode === "hidden") {
if ((e.flags & 128) !== 0) {
if (a = u !== null ? u.baseLanes | l : l,
t !== null) {
for (n = e.child = t.child,
u = 0; n !== null; )
u = u | n.lanes | n.childLanes,
n = n.sibling;
e.childLanes = u & ~a
} else
e.childLanes = 0,
e.child = null;
return js(t, e, a, l)
}
if ((l & 536870912) !== 0)
e.memoizedState = {
baseLanes: 0,
cachePool: null
},
t !== null && su(e, u !== null ? u.cachePool : null),
u !== null ? Yf(e, u) : wc(),
Ms(e);
else
return e.lanes = e.childLanes = 536870912,
js(t, e, u !== null ? u.baseLanes | l : l, l)
} else
u !== null ? (su(e, u.cachePool),
Yf(e, u),
hl(),
e.memoizedState = null) : (t !== null && su(e, null),
wc(),
hl());
return Vt(t, e, n, l),
e.child
}
function js(t, e, l, a) {
var n = gc();
return n = n === null ? null : {
parent: Yt._currentValue,
pool: n
},
e.memoizedState = {
baseLanes: l,
cachePool: n
},
t !== null && su(e, null),
wc(),
Ms(e),
t !== null && nn(t, e, a, !0),
null
}
function Ru(t, e) {
var l = e.ref;
if (l === null)
t !== null && t.ref !== null && (e.flags |= 4194816);
else {
if (typeof l != "function" && typeof l != "object")
throw Error(o(284));
(t === null || t.ref !== l) && (e.flags |= 4194816)
}
}
function Lc(t, e, l, a, n) {
return Gl(e),
l = Tc(t, e, l, a, void 0, n),
a = Ac(),
t !== null && !Lt ? (zc(t, e, n),
$e(t, e, n)) : (pt && a && cc(e),
e.flags |= 1,
Vt(t, e, l, n),
e.child)
}
function Ls(t, e, l, a, n, u) {
return Gl(e),
e.updateQueue = null,
l = jf(e, a, l, n),
Gf(t),
a = Ac(),
t !== null && !Lt ? (zc(t, e, u),
$e(t, e, u)) : (pt && a && cc(e),
e.flags |= 1,
Vt(t, e, l, u),
e.child)
}
function Xs(t, e, l, a, n) {
if (Gl(e),
e.stateNode === null) {
var u = da
, c = l.contextType;
typeof c == "object" && c !== null && (u = Ft(c)),
u = new l(a,u),
e.memoizedState = u.state !== null && u.state !== void 0 ? u.state : null,
u.updater = Gc,
e.stateNode = u,
u._reactInternals = e,
u = e.stateNode,
u.props = a,
u.state = e.memoizedState,
u.refs = {},
pc(e),
c = l.contextType,
u.context = typeof c == "object" && c !== null ? Ft(c) : da,
u.state = e.memoizedState,
c = l.getDerivedStateFromProps,
typeof c == "function" && (Yc(e, l, c, a),
u.state = e.memoizedState),
typeof l.getDerivedStateFromProps == "function" || typeof u.getSnapshotBeforeUpdate ==
"function" || typeof u.UNSAFE_componentWillMount != "function" && typeof
u.componentWillMount != "function" || (c = u.state,
typeof u.componentWillMount == "function" && u.componentWillMount(),
typeof u.UNSAFE_componentWillMount == "function" &&
u.UNSAFE_componentWillMount(),
c !== u.state && Gc.enqueueReplaceState(u, u.state, null),
dn(e, a, u, n),
sn(),
u.state = e.memoizedState),
typeof u.componentDidMount == "function" && (e.flags |= 4194308),
a = !0
} else if (t === null) {
u = e.stateNode;
var r = e.memoizedProps
, d = Xl(l, r);
u.props = d;
var E = u.context
, R = l.contextType;
c = da,
typeof R == "object" && R !== null && (c = Ft(R));
var C = l.getDerivedStateFromProps;
R = typeof C == "function" || typeof u.getSnapshotBeforeUpdate == "function",
r = e.pendingProps !== r,
R || typeof u.UNSAFE_componentWillReceiveProps != "function" && typeof
u.componentWillReceiveProps != "function" || (r || E !== c) && Ds(e, u, a, c),
ol = !1;
var T = e.memoizedState;
u.state = T,
dn(e, a, u, n),
sn(),
E = e.memoizedState,
r || T !== E || ol ? (typeof C == "function" && (Yc(e, l, C, a),
E = e.memoizedState),
(d = ol || Rs(e, l, d, a, T, E, c)) ? (R || typeof u.UNSAFE_componentWillMount != "function"
&& typeof u.componentWillMount != "function" || (typeof u.componentWillMount ==
"function" && u.componentWillMount(),
typeof u.UNSAFE_componentWillMount == "function" &&
u.UNSAFE_componentWillMount()),
typeof u.componentDidMount == "function" && (e.flags |= 4194308)) : (typeof
u.componentDidMount == "function" && (e.flags |= 4194308),
e.memoizedProps = a,
e.memoizedState = E),
u.props = a,
u.state = E,
u.context = c,
a = d) : (typeof u.componentDidMount == "function" && (e.flags |= 4194308),
a = !1)
} else {
u = e.stateNode,
bc(t, e),
c = e.memoizedProps,
R = Xl(l, c),
u.props = R,
C = e.pendingProps,
T = u.context,
E = l.contextType,
d = da,
typeof E == "object" && E !== null && (d = Ft(E)),
r = l.getDerivedStateFromProps,
(E = typeof r == "function" || typeof u.getSnapshotBeforeUpdate == "function") || typeof
u.UNSAFE_componentWillReceiveProps != "function" && typeof
u.componentWillReceiveProps != "function" || (c !== C || T !== d) && Ds(e, u, a, d),
ol = !1,
T = e.memoizedState,
u.state = T,
dn(e, a, u, n),
sn();
var A = e.memoizedState;
c !== C || T !== A || ol || t !== null && t.dependencies !== null && ru(t.dependencies) ?
(typeof r == "function" && (Yc(e, l, r, a),
A = e.memoizedState),
(R = ol || Rs(e, l, R, a, T, A, d) || t !== null && t.dependencies !== null &&
ru(t.dependencies)) ? (E || typeof u.UNSAFE_componentWillUpdate != "function" && typeof
u.componentWillUpdate != "function" || (typeof u.componentWillUpdate == "function" &&
u.componentWillUpdate(a, A, d),
typeof u.UNSAFE_componentWillUpdate == "function" &&
u.UNSAFE_componentWillUpdate(a, A, d)),
typeof u.componentDidUpdate == "function" && (e.flags |= 4),
typeof u.getSnapshotBeforeUpdate == "function" && (e.flags |= 1024)) : (typeof
u.componentDidUpdate != "function" || c === t.memoizedProps && T === t.memoizedState
|| (e.flags |= 4),
typeof u.getSnapshotBeforeUpdate != "function" || c === t.memoizedProps && T ===
t.memoizedState || (e.flags |= 1024),
e.memoizedProps = a,
e.memoizedState = A),
u.props = a,
u.state = A,
u.context = d,
a = R) : (typeof u.componentDidUpdate != "function" || c === t.memoizedProps && T ===
t.memoizedState || (e.flags |= 4),
typeof u.getSnapshotBeforeUpdate != "function" || c === t.memoizedProps && T ===
t.memoizedState || (e.flags |= 1024),
a = !1)
}
return u = a,
Ru(t, e),
a = (e.flags & 128) !== 0,
u || a ? (u = e.stateNode,
l = a && typeof l.getDerivedStateFromError != "function" ? null : u.render(),
e.flags |= 1,
t !== null && a ? (e.child = xa(e, t.child, null, n),
e.child = xa(e, null, l, n)) : Vt(t, e, l, n),
e.memoizedState = u.state,
t = e.child) : t = $e(t, e, n),
t
}
function Qs(t, e, l, a) {
return ln(),
e.flags |= 256,
Vt(t, e, l, a),
e.child
}
var Xc = {
dehydrated: null,
treeContext: null,
retryLane: 0,
hydrationErrors: null
};
function Qc(t) {
return {
baseLanes: t,
cachePool: _f()
}
}
function Vc(t, e, l) {
return t = t !== null ? t.childLanes & ~l : 0,
e && (t |= ze),
t
}
function Vs(t, e, l) {
var a = e.pendingProps, n = !1, u = (e.flags & 128) !== 0, c;
if ((c = u) || (c = t !== null && t.memoizedState === null ? !1 : (Gt.current & 2) !== 0),
c && (n = !0,
e.flags &= -129),
c = (e.flags & 32) !== 0,
e.flags &= -33,
t === null) {
if (pt) {
if (n ? dl(e) : hl(),
pt) {
var r = _t, d;
if (d = r) {
t: {
for (d = r,
r = Ne; d.nodeType !== 8; ) {
if (!r) {
r = null;
break t
}
if (d = _e(d.nextSibling),
d === null) {
r = null;
break t
}
}
r = d
}
r !== null ? (e.memoizedState = {
dehydrated: r,
treeContext: Hl !== null ? {
id: Xe,
overflow: Qe
} : null,
retryLane: 536870912,
hydrationErrors: null
},
d = se(18, null, null, 0),
d.stateNode = r,
d.return = e,
e.child = d,
te = e,
_t = null,
d = !0) : d = !1
}
d || ql(e)
}
if (r = e.memoizedState,
r !== null && (r = r.dehydrated,
r !== null))
return Do(r) ? e.lanes = 32 : e.lanes = 536870912,
null;
Je(e)
}
return r = a.children,
a = a.fallback,
n ? (hl(),
n = e.mode,
r = Du({
mode: "hidden",
children: r
}, n),
a = Nl(a, n, l, null),
r.return = e,
a.return = e,
r.sibling = a,
e.child = r,
n = e.child,
n.memoizedState = Qc(l),
n.childLanes = Vc(t, c, l),
e.memoizedState = Xc,
a) : (dl(e),
Zc(e, r))
}
if (d = t.memoizedState,
d !== null && (r = d.dehydrated,
r !== null)) {
if (u)
e.flags & 256 ? (dl(e),
e.flags &= -257,
e = Kc(t, e, l)) : e.memoizedState !== null ? (hl(),
e.child = t.child,
e.flags |= 128,
e = null) : (hl(),
n = a.fallback,
r = e.mode,
a = Du({
mode: "visible",
children: a.children
}, r),
n = Nl(n, r, l, null),
n.flags |= 2,
a.return = e,
n.return = e,
a.sibling = n,
e.child = a,
xa(e, t.child, null, l),
a = e.child,
a.memoizedState = Qc(l),
a.childLanes = Vc(t, c, l),
e.memoizedState = Xc,
e = n);
else if (dl(e),
Do(r)) {
if (c = r.nextSibling && r.nextSibling.dataset,
c)
var E = c.dgst;
c = E,
a = Error(o(419)),
a.stack = "",
a.digest = c,
an({
value: a,
source: null,
stack: null
}),
e = Kc(t, e, l)
} else if (Lt || nn(t, e, l, !1),
c = (l & t.childLanes) !== 0,
Lt || c) {
if (c = Rt,
c !== null && (a = l & -l,
a = (a & 42) !== 0 ? 1 : Di(a),
a = (a & (c.suspendedLanes | l)) !== 0 ? 0 : a,
a !== 0 && a !== d.retryLane))
throw d.retryLane = a,
sa(t, a),
ye(c, t, a),
Bs;
r.data === "$?" || so(),
e = Kc(t, e, l)
} else
r.data === "$?" ? (e.flags |= 192,
e.child = t.child,
e = null) : (t = d.treeContext,
_t = _e(r.nextSibling),
te = e,
pt = !0,
kl = null,
Ne = !1,
t !== null && (Ee[Te++] = Xe,
Ee[Te++] = Qe,
Ee[Te++] = Hl,
Xe = t.id,
Qe = t.overflow,
Hl = e),
e = Zc(e, a.children),
e.flags |= 4096);
return e
}
return n ? (hl(),
n = a.fallback,
r = e.mode,
d = t.child,
E = d.sibling,
a = Le(d, {
mode: "hidden",
children: a.children
}),
a.subtreeFlags = d.subtreeFlags & 65011712,
E !== null ? n = Le(E, n) : (n = Nl(n, r, l, null),
n.flags |= 2),
n.return = e,
a.return = e,
a.sibling = n,
e.child = a,
a = n,
n = e.child,
r = t.child.memoizedState,
r === null ? r = Qc(l) : (d = r.cachePool,
d !== null ? (E = Yt._currentValue,
d = d.parent !== E ? {
parent: E,
pool: E
} : d) : d = _f(),
r = {
baseLanes: r.baseLanes | l,
cachePool: d
}),
n.memoizedState = r,
n.childLanes = Vc(t, c, l),
e.memoizedState = Xc,
a) : (dl(e),
l = t.child,
t = l.sibling,
l = Le(l, {
mode: "visible",
children: a.children
}),
l.return = e,
l.sibling = null,
t !== null && (c = e.deletions,
c === null ? (e.deletions = [t],
e.flags |= 16) : c.push(t)),
e.child = l,
e.memoizedState = null,
l)
}
function Zc(t, e) {
return e = Du({
mode: "visible",
children: e
}, t.mode),
e.return = t,
t.child = e
}
function Du(t, e) {
return t = se(22, t, null, e),
t.lanes = 0,
t.stateNode = {
_visibility: 1,
_pendingMarkers: null,
_retryCache: null,
_transitions: null
},
t
}
function Kc(t, e, l) {
return xa(e, t.child, null, l),
t = Zc(e, e.pendingProps.children),
t.flags |= 2,
e.memoizedState = null,
t
}
function Zs(t, e, l) {
t.lanes |= e;
var a = t.alternate;
a !== null && (a.lanes |= e),
sc(t.return, e, l)
}
function Jc(t, e, l, a, n) {
var u = t.memoizedState;
u === null ? t.memoizedState = {
isBackwards: e,
rendering: null,
renderingStartTime: 0,
last: a,
tail: l,
tailMode: n
} : (u.isBackwards = e,
u.rendering = null,
u.renderingStartTime = 0,
u.last = a,
u.tail = l,
u.tailMode = n)
}
function Ks(t, e, l) {
var a = e.pendingProps
, n = a.revealOrder
, u = a.tail;
if (Vt(t, e, a.children, l),
a = Gt.current,
(a & 2) !== 0)
a = a & 1 | 2,
e.flags |= 128;
else {
if (t !== null && (t.flags & 128) !== 0)
t: for (t = e.child; t !== null; ) {
if (t.tag === 13)
t.memoizedState !== null && Zs(t, l, e);
else if (t.tag === 19)
Zs(t, l, e);
else if (t.child !== null) {
t.child.return = t,
t = t.child;
continue
}
if (t === e)
break t;
for (; t.sibling === null; ) {
if (t.return === null || t.return === e)
break t;
t = t.return
}
t.sibling.return = t.return,
t = t.sibling
}
a &= 1
}
switch (N(Gt, a),
n) {
case "forwards":
for (l = e.child,
n = null; l !== null; )
t = l.alternate,
t !== null && Au(t) === null && (n = l),
l = l.sibling;
l = n,
l === null ? (n = e.child,
e.child = null) : (n = l.sibling,
l.sibling = null),
Jc(e, !1, n, l, u);
break;
case "backwards":
for (l = null,
n = e.child,
e.child = null; n !== null; ) {
if (t = n.alternate,
t !== null && Au(t) === null) {
e.child = n;
break
}
t = n.sibling,
n.sibling = l,
l = n,
n = t
}
Jc(e, !0, l, null, u);
break;
case "together":
Jc(e, !1, null, null, void 0);
break;
default:
e.memoizedState = null
}
return e.child
}
function $e(t, e, l) {
if (t !== null && (e.dependencies = t.dependencies),
bl |= e.lanes,
(l & e.childLanes) === 0)
if (t !== null) {
if (nn(t, e, l, !1),
(l & e.childLanes) === 0)
return null
} else
return null;
if (t !== null && e.child !== t.child)
throw Error(o(153));
if (e.child !== null) {
for (t = e.child,
l = Le(t, t.pendingProps),
e.child = l,
l.return = e; t.sibling !== null; )
t = t.sibling,
l = l.sibling = Le(t, t.pendingProps),
l.return = e;
l.sibling = null
}
return e.child
}
function $c(t, e) {
return (t.lanes & e) !== 0 ? !0 : (t = t.dependencies,
!!(t !== null && ru(t)))
}
function i0(t, e, l) {
switch (e.tag) {
case 3:
vt(e, e.stateNode.containerInfo),
cl(e, Yt, t.memoizedState.cache),
ln();
break;
case 27:
case 5:
Re(e);
break;
case 4:
vt(e, e.stateNode.containerInfo);
break;
case 10:
cl(e, e.type, e.memoizedProps.value);
break;
case 13:
var a = e.memoizedState;
if (a !== null)
return a.dehydrated !== null ? (dl(e),
e.flags |= 128,
null) : (l & e.child.childLanes) !== 0 ? Vs(t, e, l) : (dl(e),
t = $e(t, e, l),
t !== null ? t.sibling : null);
dl(e);
break;
case 19:
var n = (t.flags & 128) !== 0;
if (a = (l & e.childLanes) !== 0,
a || (nn(t, e, l, !1),
a = (l & e.childLanes) !== 0),
n) {
if (a)
return Ks(t, e, l);
e.flags |= 128
}
if (n = e.memoizedState,
n !== null && (n.rendering = null,
n.tail = null,
n.lastEffect = null),
N(Gt, Gt.current),
a)
break;
return null;
case 22:
case 23:
return e.lanes = 0,
Gs(t, e, l);
case 24:
cl(e, Yt, t.memoizedState.cache)
}
return $e(t, e, l)
}
function Js(t, e, l) {
if (t !== null)
if (t.memoizedProps !== e.pendingProps)
Lt = !0;
else {
if (!$c(t, l) && (e.flags & 128) === 0)
return Lt = !1,
i0(t, e, l);
Lt = (t.flags & 131072) !== 0
}
else
Lt = !1,
pt && (e.flags & 1048576) !== 0 && Tf(e, ou, e.index);
switch (e.lanes = 0,
e.tag) {
case 16:
t: {
t = e.pendingProps;
var a = e.elementType
, n = a._init;
if (a = n(a._payload),
e.type = a,
typeof a == "function")
nc(a) ? (t = Xl(a, t),
e.tag = 1,
e = Xs(null, e, a, t, l)) : (e.tag = 0,
e = Lc(null, e, a, t, l));
else {
if (a != null) {
if (n = a.$$typeof,
n === ht) {
e.tag = 11,
e = ks(null, e, a, t, l);
break t
} else if (n === zt) {
e.tag = 14,
e = qs(null, e, a, t, l);
break t
}
}
throw e = le(a) || a,
Error(o(306, e, ""))
}
}
return e;
case 0:
return Lc(t, e, e.type, e.pendingProps, l);
case 1:
return a = e.type,
n = Xl(a, e.pendingProps),
Xs(t, e, a, n, l);
case 3:
t: {
if (vt(e, e.stateNode.containerInfo),
t === null)
throw Error(o(387));
a = e.pendingProps;
var u = e.memoizedState;
n = u.element,
bc(t, e),
dn(e, a, null, l);
var c = e.memoizedState;
if (a = c.cache,
cl(e, Yt, a),
a !== u.cache && dc(e, [Yt], l, !0),
sn(),
a = c.element,
u.isDehydrated)
if (u = {
element: a,
isDehydrated: !1,
cache: c.cache
},
e.updateQueue.baseState = u,
e.memoizedState = u,
e.flags & 256) {
e = Qs(t, e, a, l);
break t
} else if (a !== n) {
n = we(Error(o(424)), e),
an(n),
e = Qs(t, e, a, l);
break t
} else {
switch (t = e.stateNode.containerInfo,
t.nodeType) {
case 9:
t = t.body;
break;
default:
t = t.nodeName === "HTML" ? t.ownerDocument.body : t
}
for (_t = _e(t.firstChild),
te = e,
pt = !0,
kl = null,
Ne = !0,
l = zs(e, null, a, l),
e.child = l; l; )
l.flags = l.flags & -3 | 4096,
l = l.sibling
}
else {
if (ln(),
a === n) {
e = $e(t, e, l);
break t
}
Vt(t, e, a, l)
}
e = e.child
}
return e;
case 26:
return Ru(t, e),
t === null ? (l = Id(e.type, null, e.pendingProps, null)) ? e.memoizedState = l : pt || (l = e.type,
t = e.pendingProps,
a = Xu(tt.current).createElement(l),
a[Wt] = e,
a[ae] = t,
Kt(a, l, t),
jt(a),
e.stateNode = a) : e.memoizedState = Id(e.type, t.memoizedProps, e.pendingProps,
t.memoizedState),
null;
case 27:
return Re(e),
t === null && pt && (a = e.stateNode = $d(e.type, e.pendingProps, tt.current),
te = e,
Ne = !0,
n = _t,
xl(e.type) ? (Oo = n,
_t = _e(a.firstChild)) : _t = n),
Vt(t, e, e.pendingProps.children, l),
Ru(t, e),
t === null && (e.flags |= 4194304),
e.child;
case 5:
return t === null && pt && ((n = a = _t) && (a = N0(a, e.type, e.pendingProps, Ne),
a !== null ? (e.stateNode = a,
te = e,
_t = _e(a.firstChild),
Ne = !1,
n = !0) : n = !1),
n || ql(e)),
Re(e),
n = e.type,
u = e.pendingProps,
c = t !== null ? t.memoizedProps : null,
a = u.children,
zo(n, u) ? a = null : c !== null && zo(n, c) && (e.flags |= 32),
e.memoizedState !== null && (n = Tc(t, e, Ig, null, null, l),
Nn._currentValue = n),
Ru(t, e),
Vt(t, e, a, l),
e.child;
case 6:
return t === null && pt && ((t = l = _t) && (l = H0(l, e.pendingProps, Ne),
l !== null ? (e.stateNode = l,
te = e,
_t = null,
t = !0) : t = !1),
t || ql(e)),
null;
case 13:
return Vs(t, e, l);
case 4:
return vt(e, e.stateNode.containerInfo),
a = e.pendingProps,
t === null ? e.child = xa(e, null, a, l) : Vt(t, e, a, l),
e.child;
case 11:
return ks(t, e, e.type, e.pendingProps, l);
case 7:
return Vt(t, e, e.pendingProps, l),
e.child;
case 8:
return Vt(t, e, e.pendingProps.children, l),
e.child;
case 12:
return Vt(t, e, e.pendingProps.children, l),
e.child;
case 10:
return a = e.pendingProps,
cl(e, e.type, a.value),
Vt(t, e, a.children, l),
e.child;
case 9:
return n = e.type._context,
a = e.pendingProps.children,
Gl(e),
n = Ft(n),
a = a(n),
e.flags |= 1,
Vt(t, e, a, l),
e.child;
case 14:
return qs(t, e, e.type, e.pendingProps, l);
case 15:
return Ys(t, e, e.type, e.pendingProps, l);
case 19:
return Ks(t, e, l);
case 31:
return a = e.pendingProps,
l = e.mode,
a = {
mode: a.mode,
children: a.children
},
t === null ? (l = Du(a, l),
l.ref = e.ref,
e.child = l,
l.return = e,
e = l) : (l = Le(t.child, a),
l.ref = e.ref,
e.child = l,
l.return = e,
e = l),
e;
case 22:
return Gs(t, e, l);
case 24:
return Gl(e),
a = Ft(Yt),
t === null ? (n = gc(),
n === null && (n = Rt,
u = hc(),
n.pooledCache = u,
u.refCount++,
u !== null && (n.pooledCacheLanes |= l),
n = u),
e.memoizedState = {
parent: a,
cache: n
},
pc(e),
cl(e, Yt, n)) : ((t.lanes & l) !== 0 && (bc(t, e),
dn(e, null, null, l),
sn()),
n = t.memoizedState,
u = e.memoizedState,
n.parent !== a ? (n = {
parent: a,
cache: a
},
e.memoizedState = n,
e.lanes === 0 && (e.memoizedState = e.updateQueue.baseState = n),
cl(e, Yt, a)) : (a = u.cache,
cl(e, Yt, a),
a !== n.cache && dc(e, [Yt], l, !0))),
Vt(t, e, e.pendingProps.children, l),
e.child;
case 29:
throw e.pendingProps
}
throw Error(o(156, e.tag))
}
function We(t) {
t.flags |= 4
}
function $s(t, e) {
if (e.type !== "stylesheet" || (e.state.loading & 4) !== 0)
t.flags &= -16777217;
else if (t.flags |= 16777216,
!ah(e)) {
if (e = Ae.current,
e !== null && ((dt & 4194048) === dt ? He !== null : (dt & 62914560) !== dt && (dt &
536870912) === 0 || e !== He))
throw rn = yc,
Cf;
t.flags |= 8192
}
}
function Ou(t, e) {
e !== null && (t.flags |= 4),
t.flags & 16384 && (e = t.tag !== 22 ? zr() : 536870912,
t.lanes |= e,
za |= e)
}
function vn(t, e) {
if (!pt)
switch (t.tailMode) {
case "hidden":
e = t.tail;
for (var l = null; e !== null; )
e.alternate !== null && (l = e),
e = e.sibling;
l === null ? t.tail = null : l.sibling = null;
break;
case "collapsed":
l = t.tail;
for (var a = null; l !== null; )
l.alternate !== null && (a = l),
l = l.sibling;
a === null ? e || t.tail === null ? t.tail = null : t.tail.sibling = null : a.sibling = null
}
}
function Ot(t) {
var e = t.alternate !== null && t.alternate.child === t.child
, l = 0
, a = 0;
if (e)
for (var n = t.child; n !== null; )
l |= n.lanes | n.childLanes,
a |= n.subtreeFlags & 65011712,
a |= n.flags & 65011712,
n.return = t,
n = n.sibling;
else
for (n = t.child; n !== null; )
l |= n.lanes | n.childLanes,
a |= n.subtreeFlags,
a |= n.flags,
n.return = t,
n = n.sibling;
return t.subtreeFlags |= a,
t.childLanes = l,
e
}
function c0(t, e, l) {
var a = e.pendingProps;
switch (oc(e),
e.tag) {
case 31:
case 16:
case 15:
case 0:
case 11:
case 7:
case 8:
case 12:
case 9:
case 14:
return Ot(e),
null;
case 1:
return Ot(e),
null;
case 3:
return l = e.stateNode,
a = null,
t !== null && (a = t.memoizedState.cache),
e.memoizedState.cache !== a && (e.flags |= 2048),
Ze(Yt),
Pt(),
l.pendingContext && (l.context = l.pendingContext,
l.pendingContext = null),
(t === null || t.child === null) && (en(e) ? We(e) : t === null || t.memoizedState.isDehydrated
&& (e.flags & 256) === 0 || (e.flags |= 1024,
Mf())),
Ot(e),
null;
case 26:
return l = e.memoizedState,
t === null ? (We(e),
l !== null ? (Ot(e),
$s(e, l)) : (Ot(e),
e.flags &= -16777217)) : l ? l !== t.memoizedState ? (We(e),
Ot(e),
$s(e, l)) : (Ot(e),
e.flags &= -16777217) : (t.memoizedProps !== a && We(e),
Ot(e),
e.flags &= -16777217),
null;
case 27:
be(e),
l = tt.current;
var n = e.type;
if (t !== null && e.stateNode != null)
t.memoizedProps !== a && We(e);
else {
if (!a) {
if (e.stateNode === null)
throw Error(o(166));
return Ot(e),
null
}
t = j.current,
en(e) ? Af(e) : (t = $d(n, a, l),
e.stateNode = t,
We(e))
}
return Ot(e),
null;
case 5:
if (be(e),
l = e.type,
t !== null && e.stateNode != null)
t.memoizedProps !== a && We(e);
else {
if (!a) {
if (e.stateNode === null)
throw Error(o(166));
return Ot(e),
null
}
if (t = j.current,
en(e))
Af(e);
else {
switch (n = Xu(tt.current),
t) {
case 1:
t = n.createElementNS("http://www.w3.org/2000/svg", l);
break;
case 2:
t = n.createElementNS("http://www.w3.org/1998/Math/MathML", l);
break;
default:
switch (l) {
case "svg":
t = n.createElementNS("http://www.w3.org/2000/svg", l);
break;
case "math":
t = n.createElementNS("http://www.w3.org/1998/Math/MathML", l);
break;
case "script":
t = n.createElement("div"),
t.innerHTML = "<script><\/script>",
t = t.removeChild(t.firstChild);
break;
case "select":
t = typeof a.is == "string" ? n.createElement("select", {
is: a.is
}) : n.createElement("select"),
a.multiple ? t.multiple = !0 : a.size && (t.size = a.size);
break;
default:
t = typeof a.is == "string" ? n.createElement(l, {
is: a.is
}) : n.createElement(l)
}
}
t[Wt] = e,
t[ae] = a;
t: for (n = e.child; n !== null; ) {
if (n.tag === 5 || n.tag === 6)
t.appendChild(n.stateNode);
else if (n.tag !== 4 && n.tag !== 27 && n.child !== null) {
n.child.return = n,
n = n.child;
continue
}
if (n === e)
break t;
for (; n.sibling === null; ) {
if (n.return === null || n.return === e)
break t;
n = n.return
}
n.sibling.return = n.return,
n = n.sibling
}
e.stateNode = t;
t: switch (Kt(t, l, a),
l) {
case "button":
case "input":
case "select":
case "textarea":
t = !!a.autoFocus;
break t;
case "img":
t = !0;
break t;
default:
t = !1
}
t && We(e)
}
}
return Ot(e),
e.flags &= -16777217,
null;
case 6:
if (t && e.stateNode != null)
t.memoizedProps !== a && We(e);
else {
if (typeof a != "string" && e.stateNode === null)
throw Error(o(166));
if (t = tt.current,
en(e)) {
if (t = e.stateNode,
l = e.memoizedProps,
a = null,
n = te,
n !== null)
switch (n.tag) {
case 27:
case 5:
a = n.memoizedProps
}
t[Wt] = e,
t = !!(t.nodeValue === l || a !== null && a.suppressHydrationWarning === !0 ||
Ld(t.nodeValue, l)),
t || ql(e)
} else
t = Xu(t).createTextNode(a),
t[Wt] = e,
e.stateNode = t
}
return Ot(e),
null;
case 13:
if (a = e.memoizedState,
t === null || t.memoizedState !== null && t.memoizedState.dehydrated !== null) {
if (n = en(e),
a !== null && a.dehydrated !== null) {
if (t === null) {
if (!n)
throw Error(o(318));
if (n = e.memoizedState,
n = n !== null ? n.dehydrated : null,
!n)
throw Error(o(317));
n[Wt] = e
} else
ln(),
(e.flags & 128) === 0 && (e.memoizedState = null),
e.flags |= 4;
Ot(e),
n = !1
} else
n = Mf(),
t !== null && t.memoizedState !== null && (t.memoizedState.hydrationErrors = n),
n = !0;
if (!n)
return e.flags & 256 ? (Je(e),
e) : (Je(e),
null)
}
if (Je(e),
(e.flags & 128) !== 0)
return e.lanes = l,
e;
if (l = a !== null,
t = t !== null && t.memoizedState !== null,
l) {
a = e.child,
n = null,
a.alternate !== null && a.alternate.memoizedState !== null &&
a.alternate.memoizedState.cachePool !== null && (n =
a.alternate.memoizedState.cachePool.pool);
var u = null;
a.memoizedState !== null && a.memoizedState.cachePool !== null && (u =
a.memoizedState.cachePool.pool),
u !== n && (a.flags |= 2048)
}
return l !== t && l && (e.child.flags |= 8192),
Ou(e, e.updateQueue),
Ot(e),
null;
case 4:
return Pt(),
t === null && wo(e.stateNode.containerInfo),
Ot(e),
null;
case 10:
return Ze(e.type),
Ot(e),
null;
case 19:
if (k(Gt),
n = e.memoizedState,
n === null)
return Ot(e),
null;
if (a = (e.flags & 128) !== 0,
u = n.rendering,
u === null)
if (a)
vn(n, !1);
else {
if (Ct !== 0 || t !== null && (t.flags & 128) !== 0)
for (t = e.child; t !== null; ) {
if (u = Au(t),
u !== null) {
for (e.flags |= 128,
vn(n, !1),
t = u.updateQueue,
e.updateQueue = t,
Ou(e, t),
e.subtreeFlags = 0,
t = l,
l = e.child; l !== null; )
Ef(l, t),
l = l.sibling;
return N(Gt, Gt.current & 1 | 2),
e.child
}
t = t.sibling
}
n.tail !== null && Ue() > Uu && (e.flags |= 128,
a = !0,
vn(n, !1),
e.lanes = 4194304)
}
else {
if (!a)
if (t = Au(u),
t !== null) {
if (e.flags |= 128,
a = !0,
t = t.updateQueue,
e.updateQueue = t,
Ou(e, t),
vn(n, !0),
n.tail === null && n.tailMode === "hidden" && !u.alternate && !pt)
return Ot(e),
null
} else
2 * Ue() - n.renderingStartTime > Uu && l !== 536870912 && (e.flags |= 128,
a = !0,
vn(n, !1),
e.lanes = 4194304);
n.isBackwards ? (u.sibling = e.child,
e.child = u) : (t = n.last,
t !== null ? t.sibling = u : e.child = u,
n.last = u)
}
return n.tail !== null ? (e = n.tail,
n.rendering = e,
n.tail = e.sibling,
n.renderingStartTime = Ue(),
e.sibling = null,
t = Gt.current,
N(Gt, a ? t & 1 | 2 : t & 1),
e) : (Ot(e),
null);
case 22:
case 23:
return Je(e),
xc(),
a = e.memoizedState !== null,
t !== null ? t.memoizedState !== null !== a && (e.flags |= 8192) : a && (e.flags |= 8192),
a ? (l & 536870912) !== 0 && (e.flags & 128) === 0 && (Ot(e),
e.subtreeFlags & 6 && (e.flags |= 8192)) : Ot(e),
l = e.updateQueue,
l !== null && Ou(e, l.retryQueue),
l = null,
t !== null && t.memoizedState !== null && t.memoizedState.cachePool !== null && (l =
t.memoizedState.cachePool.pool),
a = null,
e.memoizedState !== null && e.memoizedState.cachePool !== null && (a =
e.memoizedState.cachePool.pool),
a !== l && (e.flags |= 2048),
t !== null && k(jl),
null;
case 24:
return l = null,
t !== null && (l = t.memoizedState.cache),
e.memoizedState.cache !== l && (e.flags |= 2048),
Ze(Yt),
Ot(e),
null;
case 25:
return null;
case 30:
return null
}
throw Error(o(156, e.tag))
}
function o0(t, e) {
switch (oc(e),
e.tag) {
case 1:
return t = e.flags,
t & 65536 ? (e.flags = t & -65537 | 128,
e) : null;
case 3:
return Ze(Yt),
Pt(),
t = e.flags,
(t & 65536) !== 0 && (t & 128) === 0 ? (e.flags = t & -65537 | 128,
e) : null;
case 26:
case 27:
case 5:
return be(e),
null;
case 13:
if (Je(e),
t = e.memoizedState,
t !== null && t.dehydrated !== null) {
if (e.alternate === null)
throw Error(o(340));
ln()
}
return t = e.flags,
t & 65536 ? (e.flags = t & -65537 | 128,
e) : null;
case 19:
return k(Gt),
null;
case 4:
return Pt(),
null;
case 10:
return Ze(e.type),
null;
case 22:
case 23:
return Je(e),
xc(),
t !== null && k(jl),
t = e.flags,
t & 65536 ? (e.flags = t & -65537 | 128,
e) : null;
case 24:
return Ze(Yt),
null;
case 25:
return null;
default:
return null
}
}
function Ws(t, e) {
switch (oc(e),
e.tag) {
case 3:
Ze(Yt),
Pt();
break;
case 26:
case 27:
case 5:
be(e);
break;
case 4:
Pt();
break;
case 13:
Je(e);
break;
case 19:
k(Gt);
break;
case 10:
Ze(e.type);
break;
case 22:
case 23:
Je(e),
xc(),
t !== null && k(jl);
break;
case 24:
Ze(Yt)
}
}
function Sn(t, e) {
try {
var l = e.updateQueue
, a = l !== null ? l.lastEffect : null;
if (a !== null) {
var n = a.next;
l = n;
do {
if ((l.tag & t) === t) {
a = void 0;
var u = l.create
, c = l.inst;
a = u(),
c.destroy = a
}
l = l.next
} while (l !== n)
}
} catch (r) {
At(e, e.return, r)
}
}
function ml(t, e, l) {
try {
var a = e.updateQueue
, n = a !== null ? a.lastEffect : null;
if (n !== null) {
var u = n.next;
a = u;
do {
if ((a.tag & t) === t) {
var c = a.inst
, r = c.destroy;
if (r !== void 0) {
c.destroy = void 0,
n = e;
var d = l
, E = r;
try {
E()
} catch (R) {
At(n, d, R)
}
}
}
a = a.next
} while (a !== u)
}
} catch (R) {
At(e, e.return, R)
}
}
function Fs(t) {
var e = t.updateQueue;
if (e !== null) {
var l = t.stateNode;
try {
qf(e, l)
} catch (a) {
At(t, t.return, a)
}
}
}
function Is(t, e, l) {
l.props = Xl(t.type, t.memoizedProps),
l.state = t.memoizedState;
try {
l.componentWillUnmount()
} catch (a) {
At(t, e, a)
}
}
function wn(t, e) {
try {
var l = t.ref;
if (l !== null) {
switch (t.tag) {
case 26:
case 27:
case 5:
var a = t.stateNode;
break;
case 30:
a = t.stateNode;
break;
default:
a = t.stateNode
}
typeof l == "function" ? t.refCleanup = l(a) : l.current = a
}
} catch (n) {
At(t, e, n)
}
}
function Be(t, e) {
var l = t.ref
, a = t.refCleanup;
if (l !== null)
if (typeof a == "function")
try {
a()
} catch (n) {
At(t, e, n)
} finally {
t.refCleanup = null,
t = t.alternate,
t != null && (t.refCleanup = null)
}
else if (typeof l == "function")
try {
l(null)
} catch (n) {
At(t, e, n)
}
else
l.current = null
}
function Ps(t) {
var e = t.type
, l = t.memoizedProps
, a = t.stateNode;
try {
t: switch (e) {
case "button":
case "input":
case "select":
case "textarea":
l.autoFocus && a.focus();
break t;
case "img":
l.src ? a.src = l.src : l.srcSet && (a.srcset = l.srcSet)
}
} catch (n) {
At(t, t.return, n)
}
}
function Wc(t, e, l) {
try {
var a = t.stateNode;
D0(a, t.type, l, e),
a[ae] = e
} catch (n) {
At(t, t.return, n)
}
}
function td(t) {
return t.tag === 5 || t.tag === 3 || t.tag === 26 || t.tag === 27 && xl(t.type) || t.tag === 4
}
function Fc(t) {
t: for (; ; ) {
for (; t.sibling === null; ) {
if (t.return === null || td(t.return))
return null;
t = t.return
}
for (t.sibling.return = t.return,
t = t.sibling; t.tag !== 5 && t.tag !== 6 && t.tag !== 18; ) {
if (t.tag === 27 && xl(t.type) || t.flags & 2 || t.child === null || t.tag === 4)
continue t;
t.child.return = t,
t = t.child
}
if (!(t.flags & 2))
return t.stateNode
}
}
function Ic(t, e, l) {
var a = t.tag;
if (a === 5 || a === 6)
t = t.stateNode,
e ? (l.nodeType === 9 ? l.body : l.nodeName === "HTML" ? l.ownerDocument.body :
l).insertBefore(t, e) : (e = l.nodeType === 9 ? l.body : l.nodeName === "HTML" ?
l.ownerDocument.body : l,
e.appendChild(t),
l = l._reactRootContainer,
l != null || e.onclick !== null || (e.onclick = Lu));
else if (a !== 4 && (a === 27 && xl(t.type) && (l = t.stateNode,
e = null),
t = t.child,
t !== null))
for (Ic(t, e, l),
t = t.sibling; t !== null; )
Ic(t, e, l),
t = t.sibling
}
function _u(t, e, l) {
var a = t.tag;
if (a === 5 || a === 6)
t = t.stateNode,
e ? l.insertBefore(t, e) : l.appendChild(t);
else if (a !== 4 && (a === 27 && xl(t.type) && (l = t.stateNode),
t = t.child,
t !== null))
for (_u(t, e, l),
t = t.sibling; t !== null; )
_u(t, e, l),
t = t.sibling
}
function ed(t) {
var e = t.stateNode
, l = t.memoizedProps;
try {
for (var a = t.type, n = e.attributes; n.length; )
e.removeAttributeNode(n[0]);
Kt(e, a, l),
e[Wt] = t,
e[ae] = l
} catch (u) {
At(t, t.return, u)
}
}
var Fe = !1
, Nt = !1
, Pc = !1
, ld = typeof WeakSet == "function" ? WeakSet : Set
, Xt = null;
function r0(t, e) {
if (t = t.containerInfo,
To = $u,
t = hf(t),
Fi(t)) {
if ("selectionStart"in t)
var l = {
start: t.selectionStart,
end: t.selectionEnd
};
else
t: {
l = (l = t.ownerDocument) && l.defaultView || window;
var a = l.getSelection && l.getSelection();
if (a && a.rangeCount !== 0) {
l = a.anchorNode;
var n = a.anchorOffset
, u = a.focusNode;
a = a.focusOffset;
try {
l.nodeType,
u.nodeType
} catch {
l = null;
break t
}
var c = 0
, r = -1
, d = -1
, E = 0
, R = 0
, C = t
, T = null;
e: for (; ; ) {
for (var A; C !== l || n !== 0 && C.nodeType !== 3 || (r = c + n),
C !== u || a !== 0 && C.nodeType !== 3 || (d = c + a),
C.nodeType === 3 && (c += C.nodeValue.length),
(A = C.firstChild) !== null; )
T = C,
C = A;
for (; ; ) {
if (C === t)
break e;
if (T === l && ++E === n && (r = c),
T === u && ++R === a && (d = c),
(A = C.nextSibling) !== null)
break;
C = T,
T = C.parentNode
}
C = A
}
l = r === -1 || d === -1 ? null : {
start: r,
end: d
}
} else
l = null
}
l = l || {
start: 0,
end: 0
}
} else
l = null;
for (Ao = {
focusedElem: t,
selectionRange: l
},
$u = !1,
Xt = e; Xt !== null; )
if (e = Xt,
t = e.child,
(e.subtreeFlags & 1024) !== 0 && t !== null)
t.return = e,
Xt = t;
else
for (; Xt !== null; ) {
switch (e = Xt,
u = e.alternate,
t = e.flags,
e.tag) {
case 0:
break;
case 11:
case 15:
break;
case 1:
if ((t & 1024) !== 0 && u !== null) {
t = void 0,
l = e,
n = u.memoizedProps,
u = u.memoizedState,
a = l.stateNode;
try {
var et = Xl(l.type, n, l.elementType === l.type);
t = a.getSnapshotBeforeUpdate(et, u),
a.__reactInternalSnapshotBeforeUpdate = t
} catch (F) {
At(l, l.return, F)
}
}
break;
case 3:
if ((t & 1024) !== 0) {
if (t = e.stateNode.containerInfo,
l = t.nodeType,
l === 9)
Ro(t);
else if (l === 1)
switch (t.nodeName) {
case "HEAD":
case "HTML":
case "BODY":
Ro(t);
break;
default:
t.textContent = ""
}
}
break;
case 5:
case 26:
case 27:
case 6:
case 4:
case 17:
break;
default:
if ((t & 1024) !== 0)
throw Error(o(163))
}
if (t = e.sibling,
t !== null) {
t.return = e.return,
Xt = t;
break
}
Xt = e.return
}
}
function ad(t, e, l) {
var a = l.flags;
switch (l.tag) {
case 0:
case 11:
case 15:
gl(t, l),
a & 4 && Sn(5, l);
break;
case 1:
if (gl(t, l),
a & 4)
if (t = l.stateNode,
e === null)
try {
t.componentDidMount()
} catch (c) {
At(l, l.return, c)
}
else {
var n = Xl(l.type, e.memoizedProps);
e = e.memoizedState;
try {
t.componentDidUpdate(n, e, t.__reactInternalSnapshotBeforeUpdate)
} catch (c) {
At(l, l.return, c)
}
}
a & 64 && Fs(l),
a & 512 && wn(l, l.return);
break;
case 3:
if (gl(t, l),
a & 64 && (t = l.updateQueue,
t !== null)) {
if (e = null,
l.child !== null)
switch (l.child.tag) {
case 27:
case 5:
e = l.child.stateNode;
break;
case 1:
e = l.child.stateNode
}
try {
qf(t, e)
} catch (c) {
At(l, l.return, c)
}
}
break;
case 27:
e === null && a & 4 && ed(l);
case 26:
case 5:
gl(t, l),
e === null && a & 4 && Ps(l),
a & 512 && wn(l, l.return);
break;
case 12:
gl(t, l);
break;
case 13:
gl(t, l),
a & 4 && id(t, l),
a & 64 && (t = l.memoizedState,
t !== null && (t = t.dehydrated,
t !== null && (l = b0.bind(null, l),
B0(t, l))));
break;
case 22:
if (a = l.memoizedState !== null || Fe,
!a) {
e = e !== null && e.memoizedState !== null || Nt,
n = Fe;
var u = Nt;
Fe = a,
(Nt = e) && !u ? yl(t, l, (l.subtreeFlags & 8772) !== 0) : gl(t, l),
Fe = n,
Nt = u
}
break;
case 30:
break;
default:
gl(t, l)
}
}
function nd(t) {
var e = t.alternate;
e !== null && (t.alternate = null,
nd(e)),
t.child = null,
t.deletions = null,
t.sibling = null,
t.tag === 5 && (e = t.stateNode,
e !== null && Ci(e)),
t.stateNode = null,
t.return = null,
t.dependencies = null,
t.memoizedProps = null,
t.memoizedState = null,
t.pendingProps = null,
t.stateNode = null,
t.updateQueue = null
}
var Dt = null
, ie = !1;
function Ie(t, e, l) {
for (l = l.child; l !== null; )
ud(t, e, l),
l = l.sibling
}
function ud(t, e, l) {
if (oe && typeof oe.onCommitFiberUnmount == "function")
try {
oe.onCommitFiberUnmount(ja, l)
} catch {}
switch (l.tag) {
case 26:
Nt || Be(l, e),
Ie(t, e, l),
l.memoizedState ? l.memoizedState.count-- : l.stateNode && (l = l.stateNode,
l.parentNode.removeChild(l));
break;
case 27:
Nt || Be(l, e);
var a = Dt
, n = ie;
xl(l.type) && (Dt = l.stateNode,
ie = !1),
Ie(t, e, l),
On(l.stateNode),
Dt = a,
ie = n;
break;
case 5:
Nt || Be(l, e);
case 6:
if (a = Dt,
n = ie,
Dt = null,
Ie(t, e, l),
Dt = a,
ie = n,
Dt !== null)
if (ie)
try {
(Dt.nodeType === 9 ? Dt.body : Dt.nodeName === "HTML" ? Dt.ownerDocument.body :
Dt).removeChild(l.stateNode)
} catch (u) {
At(l, e, u)
}
else
try {
Dt.removeChild(l.stateNode)
} catch (u) {
At(l, e, u)
}
break;
case 18:
Dt !== null && (ie ? (t = Dt,
Kd(t.nodeType === 9 ? t.body : t.nodeName === "HTML" ? t.ownerDocument.body : t,
l.stateNode),
qn(t)) : Kd(Dt, l.stateNode));
break;
case 4:
a = Dt,
n = ie,
Dt = l.stateNode.containerInfo,
ie = !0,
Ie(t, e, l),
Dt = a,
ie = n;
break;
case 0:
case 11:
case 14:
case 15:
Nt || ml(2, l, e),
Nt || ml(4, l, e),
Ie(t, e, l);
break;
case 1:
Nt || (Be(l, e),
a = l.stateNode,
typeof a.componentWillUnmount == "function" && Is(l, e, a)),
Ie(t, e, l);
break;
case 21:
Ie(t, e, l);
break;
case 22:
Nt = (a = Nt) || l.memoizedState !== null,
Ie(t, e, l),
Nt = a;
break;
default:
Ie(t, e, l)
}
}
function id(t, e) {
if (e.memoizedState === null && (t = e.alternate,
t !== null && (t = t.memoizedState,
t !== null && (t = t.dehydrated,
t !== null))))
try {
qn(t)
} catch (l) {
At(e, e.return, l)
}
}
function f0(t) {
switch (t.tag) {
case 13:
case 19:
var e = t.stateNode;
return e === null && (e = t.stateNode = new ld),
e;
case 22:
return t = t.stateNode,
e = t._retryCache,
e === null && (e = t._retryCache = new ld),
e;
default:
throw Error(o(435, t.tag))
}
}
function to(t, e) {
var l = f0(t);
e.forEach(function(a) {
var n = v0.bind(null, t, a);
l.has(a) || (l.add(a),
a.then(n, n))
})
}
function de(t, e) {
var l = e.deletions;
if (l !== null)
for (var a = 0; a < l.length; a++) {
var n = l[a]
, u = t
, c = e
, r = c;
t: for (; r !== null; ) {
switch (r.tag) {
case 27:
if (xl(r.type)) {
Dt = r.stateNode,
ie = !1;
break t
}
break;
case 5:
Dt = r.stateNode,
ie = !1;
break t;
case 3:
case 4:
Dt = r.stateNode.containerInfo,
ie = !0;
break t
}
r = r.return
}
if (Dt === null)
throw Error(o(160));
ud(u, c, n),
Dt = null,
ie = !1,
u = n.alternate,
u !== null && (u.return = null),
n.return = null
}
if (e.subtreeFlags & 13878)
for (e = e.child; e !== null; )
cd(e, t),
e = e.sibling
}
var Oe = null;
function cd(t, e) {
var l = t.alternate
, a = t.flags;
switch (t.tag) {
case 0:
case 11:
case 14:
case 15:
de(e, t),
he(t),
a & 4 && (ml(3, t, t.return),
Sn(3, t),
ml(5, t, t.return));
break;
case 1:
de(e, t),
he(t),
a & 512 && (Nt || l === null || Be(l, l.return)),
a & 64 && Fe && (t = t.updateQueue,
t !== null && (a = t.callbacks,
a !== null && (l = t.shared.hiddenCallbacks,
t.shared.hiddenCallbacks = l === null ? a : l.concat(a))));
break;
case 26:
var n = Oe;
if (de(e, t),
he(t),
a & 512 && (Nt || l === null || Be(l, l.return)),
a & 4) {
var u = l !== null ? l.memoizedState : null;
if (a = t.memoizedState,
l === null)
if (a === null)
if (t.stateNode === null) {
t: {
a = t.type,
l = t.memoizedProps,
n = n.ownerDocument || n;
e: switch (a) {
case "title":
u = n.getElementsByTagName("title")[0],
(!u || u[Qa] || u[Wt] || u.namespaceURI === "http://www.w3.org/2000/svg" ||
u.hasAttribute("itemprop")) && (u = n.createElement(a),
n.head.insertBefore(u, n.querySelector("head > title"))),
Kt(u, a, l),
u[Wt] = t,
jt(u),
a = u;
break t;
case "link":
var c = eh("link", "href", n).get(a + (l.href || ""));
if (c) {
for (var r = 0; r < c.length; r++)
if (u = c[r],
u.getAttribute("href") === (l.href == null || l.href === "" ? null : l.href) &&
u.getAttribute("rel") === (l.rel == null ? null : l.rel) && u.getAttribute("title") === (l.title ==
null ? null : l.title) && u.getAttribute("crossorigin") === (l.crossOrigin == null ? null :
l.crossOrigin)) {
c.splice(r, 1);
break e
}
}
u = n.createElement(a),
Kt(u, a, l),
n.head.appendChild(u);
break;
case "meta":
if (c = eh("meta", "content", n).get(a + (l.content || ""))) {
for (r = 0; r < c.length; r++)
if (u = c[r],
u.getAttribute("content") === (l.content == null ? null : "" + l.content) &&
u.getAttribute("name") === (l.name == null ? null : l.name) && u.getAttribute("property")
=== (l.property == null ? null : l.property) && u.getAttribute("http-equiv") === (l.httpEquiv
== null ? null : l.httpEquiv) && u.getAttribute("charset") === (l.charSet == null ? null :
l.charSet)) {
c.splice(r, 1);
break e
}
}
u = n.createElement(a),
Kt(u, a, l),
n.head.appendChild(u);
break;
default:
throw Error(o(468, a))
}
u[Wt] = t,
jt(u),
a = u
}
t.stateNode = a
} else
lh(n, t.type, t.stateNode);
else
t.stateNode = th(n, a, t.memoizedProps);
else
u !== a ? (u === null ? l.stateNode !== null && (l = l.stateNode,
l.parentNode.removeChild(l)) : u.count--,
a === null ? lh(n, t.type, t.stateNode) : th(n, a, t.memoizedProps)) : a === null &&
t.stateNode !== null && Wc(t, t.memoizedProps, l.memoizedProps)
}
break;
case 27:
de(e, t),
he(t),
a & 512 && (Nt || l === null || Be(l, l.return)),
l !== null && a & 4 && Wc(t, t.memoizedProps, l.memoizedProps);
break;
case 5:
if (de(e, t),
he(t),
a & 512 && (Nt || l === null || Be(l, l.return)),
t.flags & 32) {
n = t.stateNode;
try {
na(n, "")
} catch (A) {
At(t, t.return, A)
}
}
a & 4 && t.stateNode != null && (n = t.memoizedProps,
Wc(t, n, l !== null ? l.memoizedProps : n)),
a & 1024 && (Pc = !0);
break;
case 6:
if (de(e, t),
he(t),
a & 4) {
if (t.stateNode === null)
throw Error(o(162));
a = t.memoizedProps,
l = t.stateNode;
try {
l.nodeValue = a
} catch (A) {
At(t, t.return, A)
}
}
break;
case 3:
if (Zu = null,
n = Oe,
Oe = Qu(e.containerInfo),
de(e, t),
Oe = n,
he(t),
a & 4 && l !== null && l.memoizedState.isDehydrated)
try {
qn(e.containerInfo)
} catch (A) {
At(t, t.return, A)
}
Pc && (Pc = !1,
od(t));
break;
case 4:
a = Oe,
Oe = Qu(t.stateNode.containerInfo),
de(e, t),
he(t),
Oe = a;
break;
case 12:
de(e, t),
he(t);
break;
case 13:
de(e, t),
he(t),
t.child.flags & 8192 && t.memoizedState !== null != (l !== null && l.memoizedState !==
null) && (io = Ue()),
a & 4 && (a = t.updateQueue,
a !== null && (t.updateQueue = null,
to(t, a)));
break;
case 22:
n = t.memoizedState !== null;
var d = l !== null && l.memoizedState !== null
, E = Fe
, R = Nt;
if (Fe = E || n,
Nt = R || d,
de(e, t),
Nt = R,
Fe = E,
he(t),
a & 8192)
t: for (e = t.stateNode,
e._visibility = n ? e._visibility & -2 : e._visibility | 1,
n && (l === null || d || Fe || Nt || Ql(t)),
l = null,
e = t; ; ) {
if (e.tag === 5 || e.tag === 26) {
if (l === null) {
d = l = e;
try {
if (u = d.stateNode,
n)
c = u.style,
typeof c.setProperty == "function" ? c.setProperty("display", "none", "important") : c.display
= "none";
else {
r = d.stateNode;
var C = d.memoizedProps.style
, T = C != null && C.hasOwnProperty("display") ? C.display : null;
r.style.display = T == null || typeof T == "boolean" ? "" : ("" + T).trim()
}
} catch (A) {
At(d, d.return, A)
}
}
} else if (e.tag === 6) {
if (l === null) {
d = e;
try {
d.stateNode.nodeValue = n ? "" : d.memoizedProps
} catch (A) {
At(d, d.return, A)
}
}
} else if ((e.tag !== 22 && e.tag !== 23 || e.memoizedState === null || e === t) && e.child
!== null) {
e.child.return = e,
e = e.child;
continue
}
if (e === t)
break t;
for (; e.sibling === null; ) {
if (e.return === null || e.return === t)
break t;
l === e && (l = null),
e = e.return
}
l === e && (l = null),
e.sibling.return = e.return,
e = e.sibling
}
a & 4 && (a = t.updateQueue,
a !== null && (l = a.retryQueue,
l !== null && (a.retryQueue = null,
to(t, l))));
break;
case 19:
de(e, t),
he(t),
a & 4 && (a = t.updateQueue,
a !== null && (t.updateQueue = null,
to(t, a)));
break;
case 30:
break;
case 21:
break;
default:
de(e, t),
he(t)
}
}
function he(t) {
var e = t.flags;
if (e & 2) {
try {
for (var l, a = t.return; a !== null; ) {
if (td(a)) {
l = a;
break
}
a = a.return
}
if (l == null)
throw Error(o(160));
switch (l.tag) {
case 27:
var n = l.stateNode
, u = Fc(t);
_u(t, u, n);
break;
case 5:
var c = l.stateNode;
l.flags & 32 && (na(c, ""),
l.flags &= -33);
var r = Fc(t);
_u(t, r, c);
break;
case 3:
case 4:
var d = l.stateNode.containerInfo
, E = Fc(t);
Ic(t, E, d);
break;
default:
throw Error(o(161))
}
} catch (R) {
At(t, t.return, R)
}
t.flags &= -3
}
e & 4096 && (t.flags &= -4097)
}
function od(t) {
if (t.subtreeFlags & 1024)
for (t = t.child; t !== null; ) {
var e = t;
od(e),
e.tag === 5 && e.flags & 1024 && e.stateNode.reset(),
t = t.sibling
}
}
function gl(t, e) {
if (e.subtreeFlags & 8772)
for (e = e.child; e !== null; )
ad(t, e.alternate, e),
e = e.sibling
}
function Ql(t) {
for (t = t.child; t !== null; ) {
var e = t;
switch (e.tag) {
case 0:
case 11:
case 14:
case 15:
ml(4, e, e.return),
Ql(e);
break;
case 1:
Be(e, e.return);
var l = e.stateNode;
typeof l.componentWillUnmount == "function" && Is(e, e.return, l),
Ql(e);
break;
case 27:
On(e.stateNode);
case 26:
case 5:
Be(e, e.return),
Ql(e);
break;
case 22:
e.memoizedState === null && Ql(e);
break;
case 30:
Ql(e);
break;
default:
Ql(e)
}
t = t.sibling
}
}
function yl(t, e, l) {
for (l = l && (e.subtreeFlags & 8772) !== 0,
e = e.child; e !== null; ) {
var a = e.alternate
, n = t
, u = e
, c = u.flags;
switch (u.tag) {
case 0:
case 11:
case 15:
yl(n, u, l),
Sn(4, u);
break;
case 1:
if (yl(n, u, l),
a = u,
n = a.stateNode,
typeof n.componentDidMount == "function")
try {
n.componentDidMount()
} catch (E) {
At(a, a.return, E)
}
if (a = u,
n = a.updateQueue,
n !== null) {
var r = a.stateNode;
try {
var d = n.shared.hiddenCallbacks;
if (d !== null)
for (n.shared.hiddenCallbacks = null,
n = 0; n < d.length; n++)
kf(d[n], r)
} catch (E) {
At(a, a.return, E)
}
}
l && c & 64 && Fs(u),
wn(u, u.return);
break;
case 27:
ed(u);
case 26:
case 5:
yl(n, u, l),
l && a === null && c & 4 && Ps(u),
wn(u, u.return);
break;
case 12:
yl(n, u, l);
break;
case 13:
yl(n, u, l),
l && c & 4 && id(n, u);
break;
case 22:
u.memoizedState === null && yl(n, u, l),
wn(u, u.return);
break;
case 30:
break;
default:
yl(n, u, l)
}
e = e.sibling
}
}
function eo(t, e) {
var l = null;
t !== null && t.memoizedState !== null && t.memoizedState.cachePool !== null && (l =
t.memoizedState.cachePool.pool),
t = null,
e.memoizedState !== null && e.memoizedState.cachePool !== null && (t =
e.memoizedState.cachePool.pool),
t !== l && (t != null && t.refCount++,
l != null && un(l))
}
function lo(t, e) {
t = null,
e.alternate !== null && (t = e.alternate.memoizedState.cache),
e = e.memoizedState.cache,
e !== t && (e.refCount++,
t != null && un(t))
}
function ke(t, e, l, a) {
if (e.subtreeFlags & 10256)
for (e = e.child; e !== null; )
rd(t, e, l, a),
e = e.sibling
}
function rd(t, e, l, a) {
var n = e.flags;
switch (e.tag) {
case 0:
case 11:
case 15:
ke(t, e, l, a),
n & 2048 && Sn(9, e);
break;
case 1:
ke(t, e, l, a);
break;
case 3:
ke(t, e, l, a),
n & 2048 && (t = null,
e.alternate !== null && (t = e.alternate.memoizedState.cache),
e = e.memoizedState.cache,
e !== t && (e.refCount++,
t != null && un(t)));
break;
case 12:
if (n & 2048) {
ke(t, e, l, a),
t = e.stateNode;
try {
var u = e.memoizedProps
, c = u.id
, r = u.onPostCommit;
typeof r == "function" && r(c, e.alternate === null ? "mount" : "update",
t.passiveEffectDuration, -0)
} catch (d) {
At(e, e.return, d)
}
} else
ke(t, e, l, a);
break;
case 13:
ke(t, e, l, a);
break;
case 23:
break;
case 22:
u = e.stateNode,
c = e.alternate,
e.memoizedState !== null ? u._visibility & 2 ? ke(t, e, l, a) : xn(t, e) : u._visibility & 2 ? ke(t,
e, l, a) : (u._visibility |= 2,
Ea(t, e, l, a, (e.subtreeFlags & 10256) !== 0)),
n & 2048 && eo(c, e);
break;
case 24:
ke(t, e, l, a),
n & 2048 && lo(e.alternate, e);
break;
default:
ke(t, e, l, a)
}
}
function Ea(t, e, l, a, n) {
for (n = n && (e.subtreeFlags & 10256) !== 0,
e = e.child; e !== null; ) {
var u = t
, c = e
, r = l
, d = a
, E = c.flags;
switch (c.tag) {
case 0:
case 11:
case 15:
Ea(u, c, r, d, n),
Sn(8, c);
break;
case 23:
break;
case 22:
var R = c.stateNode;
c.memoizedState !== null ? R._visibility & 2 ? Ea(u, c, r, d, n) : xn(u, c) : (R._visibility |= 2,
Ea(u, c, r, d, n)),
n && E & 2048 && eo(c.alternate, c);
break;
case 24:
Ea(u, c, r, d, n),
n && E & 2048 && lo(c.alternate, c);
break;
default:
Ea(u, c, r, d, n)
}
e = e.sibling
}
}
function xn(t, e) {
if (e.subtreeFlags & 10256)
for (e = e.child; e !== null; ) {
var l = t
, a = e
, n = a.flags;
switch (a.tag) {
case 22:
xn(l, a),
n & 2048 && eo(a.alternate, a);
break;
case 24:
xn(l, a),
n & 2048 && lo(a.alternate, a);
break;
default:
xn(l, a)
}
e = e.sibling
}
}
var En = 8192;
function Ta(t) {
if (t.subtreeFlags & En)
for (t = t.child; t !== null; )
fd(t),
t = t.sibling
}
function fd(t) {
switch (t.tag) {
case 26:
Ta(t),
t.flags & En && t.memoizedState !== null && $0(Oe, t.memoizedState, t.memoizedProps);
break;
case 5:
Ta(t);
break;
case 3:
case 4:
var e = Oe;
Oe = Qu(t.stateNode.containerInfo),
Ta(t),
Oe = e;
break;
case 22:
t.memoizedState === null && (e = t.alternate,
e !== null && e.memoizedState !== null ? (e = En,
En = 16777216,
Ta(t),
En = e) : Ta(t));
break;
default:
Ta(t)
}
}
function sd(t) {
var e = t.alternate;
if (e !== null && (t = e.child,
t !== null)) {
e.child = null;
do
e = t.sibling,
t.sibling = null,
t = e;
while (t !== null)
}
}
function Tn(t) {
var e = t.deletions;
if ((t.flags & 16) !== 0) {
if (e !== null)
for (var l = 0; l < e.length; l++) {
var a = e[l];
Xt = a,
hd(a, t)
}
sd(t)
}
if (t.subtreeFlags & 10256)
for (t = t.child; t !== null; )
dd(t),
t = t.sibling
}
function dd(t) {
switch (t.tag) {
case 0:
case 11:
case 15:
Tn(t),
t.flags & 2048 && ml(9, t, t.return);
break;
case 3:
Tn(t);
break;
case 12:
Tn(t);
break;
case 22:
var e = t.stateNode;
t.memoizedState !== null && e._visibility & 2 && (t.return === null || t.return.tag !== 13) ?
(e._visibility &= -3,
Cu(t)) : Tn(t);
break;
default:
Tn(t)
}
}
function Cu(t) {
var e = t.deletions;
if ((t.flags & 16) !== 0) {
if (e !== null)
for (var l = 0; l < e.length; l++) {
var a = e[l];
Xt = a,
hd(a, t)
}
sd(t)
}
for (t = t.child; t !== null; ) {
switch (e = t,
e.tag) {
case 0:
case 11:
case 15:
ml(8, e, e.return),
Cu(e);
break;
case 22:
l = e.stateNode,
l._visibility & 2 && (l._visibility &= -3,
Cu(e));
break;
default:
Cu(e)
}
t = t.sibling
}
}
function hd(t, e) {
for (; Xt !== null; ) {
var l = Xt;
switch (l.tag) {
case 0:
case 11:
case 15:
ml(8, l, e);
break;
case 23:
case 22:
if (l.memoizedState !== null && l.memoizedState.cachePool !== null) {
var a = l.memoizedState.cachePool.pool;
a != null && a.refCount++
}
break;
case 24:
un(l.memoizedState.cache)
}
if (a = l.child,
a !== null)
a.return = l,
Xt = a;
else
t: for (l = t; Xt !== null; ) {
a = Xt;
var n = a.sibling
, u = a.return;
if (nd(a),
a === l) {
Xt = null;
break t
}
if (n !== null) {
n.return = u,
Xt = n;
break t
}
Xt = u
}
}
}
var s0 = {
getCacheForType: function(t) {
var e = Ft(Yt)
, l = e.data.get(t);
return l === void 0 && (l = t(),
e.data.set(t, l)),
l
}
}
, d0 = typeof WeakMap == "function" ? WeakMap : Map
, St = 0
, Rt = null
, ft = null
, dt = 0
, wt = 0
, me = null
, pl = !1
, Aa = !1
, ao = !1
, Pe = 0
, Ct = 0
, bl = 0
, Vl = 0
, no = 0
, ze = 0
, za = 0
, An = null
, ce = null
, uo = !1
, io = 0
, Uu = 1 / 0
, Nu = null
, vl = null
, Zt = 0
, Sl = null
, Ma = null
, Ra = 0
, co = 0
, oo = null
, md = null
, zn = 0
, ro = null;
function ge() {
if ((St & 2) !== 0 && dt !== 0)
return dt & -dt;
if (z.T !== null) {
var t = ga;
return t !== 0 ? t : po()
}
return Dr()
}
function gd() {
ze === 0 && (ze = (dt & 536870912) === 0 || pt ? Ar() : 536870912);
var t = Ae.current;
return t !== null && (t.flags |= 32),
ze
}
function ye(t, e, l) {
(t === Rt && (wt === 2 || wt === 9) || t.cancelPendingCommit !== null) && (Da(t, 0),
wl(t, dt, ze, !1)),
Xa(t, l),
((St & 2) === 0 || t !== Rt) && (t === Rt && ((St & 2) === 0 && (Vl |= l),
Ct === 4 && wl(t, dt, ze, !1)),
qe(t))
}
function yd(t, e, l) {
if ((St & 6) !== 0)
throw Error(o(327));
var a = !l && (e & 124) === 0 && (e & t.expiredLanes) === 0 || La(t, e)
, n = a ? g0(t, e) : ho(t, e, !0)
, u = a;
do {
if (n === 0) {
Aa && !a && wl(t, e, 0, !1);
break
} else {
if (l = t.current.alternate,
u && !h0(l)) {
n = ho(t, e, !1),
u = !1;
continue
}
if (n === 2) {
if (u = e,
t.errorRecoveryDisabledLanes & u)
var c = 0;
else
c = t.pendingLanes & -536870913,
c = c !== 0 ? c : c & 536870912 ? 536870912 : 0;
if (c !== 0) {
e = c;
t: {
var r = t;
n = An;
var d = r.current.memoizedState.isDehydrated;
if (d && (Da(r, c).flags |= 256),
c = ho(r, c, !1),
c !== 2) {
if (ao && !d) {
r.errorRecoveryDisabledLanes |= u,
Vl |= u,
n = 4;
break t
}
u = ce,
ce = n,
u !== null && (ce === null ? ce = u : ce.push.apply(ce, u))
}
n = c
}
if (u = !1,
n !== 2)
continue
}
}
if (n === 1) {
Da(t, 0),
wl(t, e, 0, !0);
break
}
t: {
switch (a = t,
u = n,
u) {
case 0:
case 1:
throw Error(o(345));
case 4:
if ((e & 4194048) !== e)
break;
case 6:
wl(a, e, ze, !pl);
break t;
case 2:
ce = null;
break;
case 3:
case 5:
break;
default:
throw Error(o(329))
}
if ((e & 62914560) === e && (n = io + 300 - Ue(),
10 < n)) {
if (wl(a, e, ze, !pl),
Vn(a, 0, !0) !== 0)
break t;
a.timeoutHandle = Vd(pd.bind(null, a, l, ce, Nu, uo, e, ze, Vl, za, pl, u, 2, -0, 0), n);
break t
}
pd(a, l, ce, Nu, uo, e, ze, Vl, za, pl, u, 0, -0, 0)
}
}
break
} while (!0);
qe(t)
}
function pd(t, e, l, a, n, u, c, r, d, E, R, C, T, A) {
if (t.timeoutHandle = -1,
C = e.subtreeFlags,
(C & 8192 || (C & 16785408) === 16785408) && (Un = {
stylesheets: null,
count: 0,
unsuspend: J0
},
fd(e),
C = W0(),
C !== null)) {
t.cancelPendingCommit = C(Td.bind(null, t, e, u, l, a, n, c, r, d, R, 1, T, A)),
wl(t, u, c, !E);
return
}
Td(t, e, u, l, a, n, c, r, d)
}
function h0(t) {
for (var e = t; ; ) {
var l = e.tag;
if ((l === 0 || l === 11 || l === 15) && e.flags & 16384 && (l = e.updateQueue,
l !== null && (l = l.stores,
l !== null)))
for (var a = 0; a < l.length; a++) {
var n = l[a]
, u = n.getSnapshot;
n = n.value;
try {
if (!fe(u(), n))
return !1
} catch {
return !1
}
}
if (l = e.child,
e.subtreeFlags & 16384 && l !== null)
l.return = e,
e = l;
else {
if (e === t)
break;
for (; e.sibling === null; ) {
if (e.return === null || e.return === t)
return !0;
e = e.return
}
e.sibling.return = e.return,
e = e.sibling
}
}
return !0
}
function wl(t, e, l, a) {
e &= ~no,
e &= ~Vl,
t.suspendedLanes |= e,
t.pingedLanes &= ~e,
a && (t.warmLanes |= e),
a = t.expirationTimes;
for (var n = e; 0 < n; ) {
var u = 31 - re(n)
, c = 1 << u;
a[u] = -1,
n &= ~c
}
l !== 0 && Mr(t, l, e)
}
function Hu() {
return (St & 6) === 0 ? (Mn(0),
!1) : !0
}
function fo() {
if (ft !== null) {
if (wt === 0)
var t = ft.return;
else
t = ft,
Ve = Yl = null,
Mc(t),
wa = null,
pn = 0,
t = ft;
for (; t !== null; )
Ws(t.alternate, t),
t = t.return;
ft = null
}
}
function Da(t, e) {
var l = t.timeoutHandle;
l !== -1 && (t.timeoutHandle = -1,
_0(l)),
l = t.cancelPendingCommit,
l !== null && (t.cancelPendingCommit = null,
l()),
fo(),
Rt = t,
ft = l = Le(t.current, null),
dt = e,
wt = 0,
me = null,
pl = !1,
Aa = La(t, e),
ao = !1,
za = ze = no = Vl = bl = Ct = 0,
ce = An = null,
uo = !1,
(e & 8) !== 0 && (e |= e & 32);
var a = t.entangledLanes;
if (a !== 0)
for (t = t.entanglements,
a &= e; 0 < a; ) {
var n = 31 - re(a)
, u = 1 << n;
e |= t[n],
a &= ~u
}
return Pe = e,
au(),
l
}
function bd(t, e) {
it = null,
z.H = xu,
e === on || e === du ? (e = Hf(),
wt = 3) : e === Cf ? (e = Hf(),
wt = 4) : wt = e === Bs ? 8 : e !== null && typeof e == "object" && typeof e.then ==
"function" ? 6 : 1,
me = e,
ft === null && (Ct = 1,
Mu(t, we(e, t.current)))
}
function vd() {
var t = z.H;
return z.H = xu,
t === null ? xu : t
}
function Sd() {
var t = z.A;
return z.A = s0,
t
}
function so() {
Ct = 4,
pl || (dt & 4194048) !== dt && Ae.current !== null || (Aa = !0),
(bl & 134217727) === 0 && (Vl & 134217727) === 0 || Rt === null || wl(Rt, dt, ze, !1)
}
function ho(t, e, l) {
var a = St;
St |= 2;
var n = vd()
, u = Sd();
(Rt !== t || dt !== e) && (Nu = null,
Da(t, e)),
e = !1;
var c = Ct;
t: do
try {
if (wt !== 0 && ft !== null) {
var r = ft
, d = me;
switch (wt) {
case 8:
fo(),
c = 6;
break t;
case 3:
case 2:
case 9:
case 6:
Ae.current === null && (e = !0);
var E = wt;
if (wt = 0,
me = null,
Oa(t, r, d, E),
l && Aa) {
c = 0;
break t
}
break;
default:
E = wt,
wt = 0,
me = null,
Oa(t, r, d, E)
}
}
m0(),
c = Ct;
break
} catch (R) {
bd(t, R)
}
while (!0);
return e && t.shellSuspendCounter++,
Ve = Yl = null,
St = a,
z.H = n,
z.A = u,
ft === null && (Rt = null,
dt = 0,
au()),
c
}
function m0() {
for (; ft !== null; )
wd(ft)
}
function g0(t, e) {
var l = St;
St |= 2;
var a = vd()
, n = Sd();
Rt !== t || dt !== e ? (Nu = null,
Uu = Ue() + 500,
Da(t, e)) : Aa = La(t, e);
t: do
try {
if (wt !== 0 && ft !== null) {
e = ft;
var u = me;
e: switch (wt) {
case 1:
wt = 0,
me = null,
Oa(t, e, u, 1);
break;
case 2:
case 9:
if (Uf(u)) {
wt = 0,
me = null,
xd(e);
break
}
e = function() {
wt !== 2 && wt !== 9 || Rt !== t || (wt = 7),
qe(t)
}
,
u.then(e, e);
break t;
case 3:
wt = 7;
break t;
case 4:
wt = 5;
break t;
case 7:
Uf(u) ? (wt = 0,
me = null,
xd(e)) : (wt = 0,
me = null,
Oa(t, e, u, 7));
break;
case 5:
var c = null;
switch (ft.tag) {
case 26:
c = ft.memoizedState;
case 5:
case 27:
var r = ft;
if (!c || ah(c)) {
wt = 0,
me = null;
var d = r.sibling;
if (d !== null)
ft = d;
else {
var E = r.return;
E !== null ? (ft = E,
Bu(E)) : ft = null
}
break e
}
}
wt = 0,
me = null,
Oa(t, e, u, 5);
break;
case 6:
wt = 0,
me = null,
Oa(t, e, u, 6);
break;
case 8:
fo(),
Ct = 6;
break t;
default:
throw Error(o(462))
}
}
y0();
break
} catch (R) {
bd(t, R)
}
while (!0);
return Ve = Yl = null,
z.H = a,
z.A = n,
St = l,
ft !== null ? 0 : (Rt = null,
dt = 0,
au(),
Ct)
}
function y0() {
for (; ft !== null && !qm(); )
wd(ft)
}
function wd(t) {
var e = Js(t.alternate, t, Pe);
t.memoizedProps = t.pendingProps,
e === null ? Bu(t) : ft = e
}
function xd(t) {
var e = t
, l = e.alternate;
switch (e.tag) {
case 15:
case 0:
e = Ls(l, e, e.pendingProps, e.type, void 0, dt);
break;
case 11:
e = Ls(l, e, e.pendingProps, e.type.render, e.ref, dt);
break;
case 5:
Mc(e);
default:
Ws(l, e),
e = ft = Ef(e, Pe),
e = Js(l, e, Pe)
}
t.memoizedProps = t.pendingProps,
e === null ? Bu(t) : ft = e
}
function Oa(t, e, l, a) {
Ve = Yl = null,
Mc(e),
wa = null,
pn = 0;
var n = e.return;
try {
if (u0(t, n, e, l, dt)) {
Ct = 1,
Mu(t, we(l, t.current)),
ft = null;
return
}
} catch (u) {
if (n !== null)
throw ft = n,
u;
Ct = 1,
Mu(t, we(l, t.current)),
ft = null;
return
}
e.flags & 32768 ? (pt || a === 1 ? t = !0 : Aa || (dt & 536870912) !== 0 ? t = !1 : (pl = t = !0,
(a === 2 || a === 9 || a === 3 || a === 6) && (a = Ae.current,
a !== null && a.tag === 13 && (a.flags |= 16384))),
Ed(e, t)) : Bu(e)
}
function Bu(t) {
var e = t;
do {
if ((e.flags & 32768) !== 0) {
Ed(e, pl);
return
}
t = e.return;
var l = c0(e.alternate, e, Pe);
if (l !== null) {
ft = l;
return
}
if (e = e.sibling,
e !== null) {
ft = e;
return
}
ft = e = t
} while (e !== null);
Ct === 0 && (Ct = 5)
}
function Ed(t, e) {
do {
var l = o0(t.alternate, t);
if (l !== null) {
l.flags &= 32767,
ft = l;
return
}
if (l = t.return,
l !== null && (l.flags |= 32768,
l.subtreeFlags = 0,
l.deletions = null),
!e && (t = t.sibling,
t !== null)) {
ft = t;
return
}
ft = t = l
} while (t !== null);
Ct = 6,
ft = null
}
function Td(t, e, l, a, n, u, c, r, d) {
t.cancelPendingCommit = null;
do
ku();
while (Zt !== 0);
if ((St & 6) !== 0)
throw Error(o(327));
if (e !== null) {
if (e === t.current)
throw Error(o(177));
if (u = e.lanes | e.childLanes,
u |= lc,
Jm(t, l, u, c, r, d),
t === Rt && (ft = Rt = null,
dt = 0),
Ma = e,
Sl = t,
Ra = l,
co = u,
oo = n,
md = a,
(e.subtreeFlags & 10256) !== 0 || (e.flags & 10256) !== 0 ? (t.callbackNode = null,
t.callbackPriority = 0,
S0(Ln, function() {
return Dd(),
null
})) : (t.callbackNode = null,
t.callbackPriority = 0),
a = (e.flags & 13878) !== 0,
(e.subtreeFlags & 13878) !== 0 || a) {
a = z.T,
z.T = null,
n = H.p,
H.p = 2,
c = St,
St |= 4;
try {
r0(t, e, l)
} finally {
St = c,
H.p = n,
z.T = a
}
}
Zt = 1,
Ad(),
zd(),
Md()
}
}
function Ad() {
if (Zt === 1) {
Zt = 0;
var t = Sl
, e = Ma
, l = (e.flags & 13878) !== 0;
if ((e.subtreeFlags & 13878) !== 0 || l) {
l = z.T,
z.T = null;
var a = H.p;
H.p = 2;
var n = St;
St |= 4;
try {
cd(e, t);
var u = Ao
, c = hf(t.containerInfo)
, r = u.focusedElem
, d = u.selectionRange;
if (c !== r && r && r.ownerDocument && df(r.ownerDocument.documentElement, r)) {
if (d !== null && Fi(r)) {
var E = d.start
, R = d.end;
if (R === void 0 && (R = E),
"selectionStart"in r)
r.selectionStart = E,
r.selectionEnd = Math.min(R, r.value.length);
else {
var C = r.ownerDocument || document
, T = C && C.defaultView || window;
if (T.getSelection) {
var A = T.getSelection()
, et = r.textContent.length
, F = Math.min(d.start, et)
, Tt = d.end === void 0 ? F : Math.min(d.end, et);
!A.extend && F > Tt && (c = Tt,
Tt = F,
F = c);
var w = sf(r, F)
, v = sf(r, Tt);
if (w && v && (A.rangeCount !== 1 || A.anchorNode !== w.node || A.anchorOffset !==
w.offset || A.focusNode !== v.node || A.focusOffset !== v.offset)) {
var x = C.createRange();
x.setStart(w.node, w.offset),
A.removeAllRanges(),
F > Tt ? (A.addRange(x),
A.extend(v.node, v.offset)) : (x.setEnd(v.node, v.offset),
A.addRange(x))
}
}
}
}
for (C = [],
A = r; A = A.parentNode; )
A.nodeType === 1 && C.push({
element: A,
left: A.scrollLeft,
top: A.scrollTop
});
for (typeof r.focus == "function" && r.focus(),
r = 0; r < C.length; r++) {
var D = C[r];
D.element.scrollLeft = D.left,
D.element.scrollTop = D.top
}
}
$u = !!To,
Ao = To = null
} finally {
St = n,
H.p = a,
z.T = l
}
}
t.current = e,
Zt = 2
}
}
function zd() {
if (Zt === 2) {
Zt = 0;
var t = Sl
, e = Ma
, l = (e.flags & 8772) !== 0;
if ((e.subtreeFlags & 8772) !== 0 || l) {
l = z.T,
z.T = null;
var a = H.p;
H.p = 2;
var n = St;
St |= 4;
try {
ad(t, e.alternate, e)
} finally {
St = n,
H.p = a,
z.T = l
}
}
Zt = 3
}
}
function Md() {
if (Zt === 4 || Zt === 3) {
Zt = 0,
Ym();
var t = Sl
, e = Ma
, l = Ra
, a = md;
(e.subtreeFlags & 10256) !== 0 || (e.flags & 10256) !== 0 ? Zt = 5 : (Zt = 0,
Ma = Sl = null,
Rd(t, t.pendingLanes));
var n = t.pendingLanes;
if (n === 0 && (vl = null),
Oi(l),
e = e.stateNode,
oe && typeof oe.onCommitFiberRoot == "function")
try {
oe.onCommitFiberRoot(ja, e, void 0, (e.current.flags & 128) === 128)
} catch {}
if (a !== null) {
e = z.T,
n = H.p,
H.p = 2,
z.T = null;
try {
for (var u = t.onRecoverableError, c = 0; c < a.length; c++) {
var r = a[c];
u(r.value, {
componentStack: r.stack
})
}
} finally {
z.T = e,
H.p = n
}
}
(Ra & 3) !== 0 && ku(),
qe(t),
n = t.pendingLanes,
(l & 4194090) !== 0 && (n & 42) !== 0 ? t === ro ? zn++ : (zn = 0,
ro = t) : zn = 0,
Mn(0)
}
}
function Rd(t, e) {
(t.pooledCacheLanes &= e) === 0 && (e = t.pooledCache,
e != null && (t.pooledCache = null,
un(e)))
}
function ku(t) {
return Ad(),
zd(),
Md(),
Dd()
}
function Dd() {
if (Zt !== 5)
return !1;
var t = Sl
, e = co;
co = 0;
var l = Oi(Ra)
, a = z.T
, n = H.p;
try {
H.p = 32 > l ? 32 : l,
z.T = null,
l = oo,
oo = null;
var u = Sl
, c = Ra;
if (Zt = 0,
Ma = Sl = null,
Ra = 0,
(St & 6) !== 0)
throw Error(o(331));
var r = St;
if (St |= 4,
dd(u.current),
rd(u, u.current, c, l),
St = r,
Mn(0, !1),
oe && typeof oe.onPostCommitFiberRoot == "function")
try {
oe.onPostCommitFiberRoot(ja, u)
} catch {}
return !0
} finally {
H.p = n,
z.T = a,
Rd(t, e)
}
}
function Od(t, e, l) {
e = we(l, e),
e = jc(t.stateNode, e, 2),
t = fl(t, e, 2),
t !== null && (Xa(t, 2),
qe(t))
}
function At(t, e, l) {
if (t.tag === 3)
Od(t, t, l);
else
for (; e !== null; ) {
if (e.tag === 3) {
Od(e, t, l);
break
} else if (e.tag === 1) {
var a = e.stateNode;
if (typeof e.type.getDerivedStateFromError == "function" || typeof a.componentDidCatch ==
"function" && (vl === null || !vl.has(a))) {
t = we(l, t),
l = Ns(2),
a = fl(e, l, 2),
a !== null && (Hs(l, a, e, t),
Xa(a, 2),
qe(a));
break
}
}
e = e.return
}
}
function mo(t, e, l) {
var a = t.pingCache;
if (a === null) {
a = t.pingCache = new d0;
var n = new Set;
a.set(e, n)
} else
n = a.get(e),
n === void 0 && (n = new Set,
a.set(e, n));
n.has(l) || (ao = !0,
n.add(l),
t = p0.bind(null, t, e, l),
e.then(t, t))
}
function p0(t, e, l) {
var a = t.pingCache;
a !== null && a.delete(e),
t.pingedLanes |= t.suspendedLanes & l,
t.warmLanes &= ~l,
Rt === t && (dt & l) === l && (Ct === 4 || Ct === 3 && (dt & 62914560) === dt && 300 >
Ue() - io ? (St & 2) === 0 && Da(t, 0) : no |= l,
za === dt && (za = 0)),
qe(t)
}
function _d(t, e) {
e === 0 && (e = zr()),
t = sa(t, e),
t !== null && (Xa(t, e),
qe(t))
}
function b0(t) {
var e = t.memoizedState
, l = 0;
e !== null && (l = e.retryLane),
_d(t, l)
}
function v0(t, e) {
var l = 0;
switch (t.tag) {
case 13:
var a = t.stateNode
, n = t.memoizedState;
n !== null && (l = n.retryLane);
break;
case 19:
a = t.stateNode;
break;
case 22:
a = t.stateNode._retryCache;
break;
default:
throw Error(o(314))
}
a !== null && a.delete(e),
_d(t, l)
}
function S0(t, e) {
return zi(t, e)
}
var qu = null
, _a = null
, go = !1
, Yu = !1
, yo = !1
, Zl = 0;
function qe(t) {
t !== _a && t.next === null && (_a === null ? qu = _a = t : _a = _a.next = t),
Yu = !0,
go || (go = !0,
x0())
}
function Mn(t, e) {
if (!yo && Yu) {
yo = !0;
do
for (var l = !1, a = qu; a !== null; ) {
if (t !== 0) {
var n = a.pendingLanes;
if (n === 0)
var u = 0;
else {
var c = a.suspendedLanes
, r = a.pingedLanes;
u = (1 << 31 - re(42 | t) + 1) - 1,
u &= n & ~(c & ~r),
u = u & 201326741 ? u & 201326741 | 1 : u ? u | 2 : 0
}
u !== 0 && (l = !0,
Hd(a, u))
} else
u = dt,
u = Vn(a, a === Rt ? u : 0, a.cancelPendingCommit !== null || a.timeoutHandle !== -1),
(u & 3) === 0 || La(a, u) || (l = !0,
Hd(a, u));
a = a.next
}
while (l);
yo = !1
}
}
function w0() {
Cd()
}
function Cd() {
Yu = go = !1;
var t = 0;
Zl !== 0 && (O0() && (t = Zl),
Zl = 0);
for (var e = Ue(), l = null, a = qu; a !== null; ) {
var n = a.next
, u = Ud(a, e);
u === 0 ? (a.next = null,
l === null ? qu = n : l.next = n,
n === null && (_a = l)) : (l = a,
(t !== 0 || (u & 3) !== 0) && (Yu = !0)),
a = n
}
Mn(t)
}
function Ud(t, e) {
for (var l = t.suspendedLanes, a = t.pingedLanes, n = t.expirationTimes, u = t.pendingLanes &
-62914561; 0 < u; ) {
var c = 31 - re(u)
, r = 1 << c
, d = n[c];
d === -1 ? ((r & l) === 0 || (r & a) !== 0) && (n[c] = Km(r, e)) : d <= e && (t.expiredLanes
|= r),
u &= ~r
}
if (e = Rt,
l = dt,
l = Vn(t, t === e ? l : 0, t.cancelPendingCommit !== null || t.timeoutHandle !== -1),
a = t.callbackNode,
l === 0 || t === e && (wt === 2 || wt === 9) || t.cancelPendingCommit !== null)
return a !== null && a !== null && Mi(a),
t.callbackNode = null,
t.callbackPriority = 0;
if ((l & 3) === 0 || La(t, l)) {
if (e = l & -l,
e === t.callbackPriority)
return e;
switch (a !== null && Mi(a),
Oi(l)) {
case 2:
case 8:
l = Er;
break;
case 32:
l = Ln;
break;
case 268435456:
l = Tr;
break;
default:
l = Ln
}
return a = Nd.bind(null, t),
l = zi(l, a),
t.callbackPriority = e,
t.callbackNode = l,
e
}
return a !== null && a !== null && Mi(a),
t.callbackPriority = 2,
t.callbackNode = null,
2
}
function Nd(t, e) {
if (Zt !== 0 && Zt !== 5)
return t.callbackNode = null,
t.callbackPriority = 0,
null;
var l = t.callbackNode;
if (ku() && t.callbackNode !== l)
return null;
var a = dt;
return a = Vn(t, t === Rt ? a : 0, t.cancelPendingCommit !== null || t.timeoutHandle !== -1),
a === 0 ? null : (yd(t, a, e),
Ud(t, Ue()),
t.callbackNode != null && t.callbackNode === l ? Nd.bind(null, t) : null)
}
function Hd(t, e) {
if (ku())
return null;
yd(t, e, !0)
}
function x0() {
C0(function() {
(St & 6) !== 0 ? zi(xr, w0) : Cd()
})
}
function po() {
return Zl === 0 && (Zl = Ar()),
Zl
}
function Bd(t) {
return t == null || typeof t == "symbol" || typeof t == "boolean" ? null : typeof t == "function"
? t : Wn("" + t)
}
function kd(t, e) {
var l = e.ownerDocument.createElement("input");
return l.name = e.name,
l.value = e.value,
t.id && l.setAttribute("form", t.id),
e.parentNode.insertBefore(l, e),
t = new FormData(t),
l.parentNode.removeChild(l),
t
}
function E0(t, e, l, a, n) {
if (e === "submit" && l && l.stateNode === n) {
var u = Bd((n[ae] || null).action)
, c = a.submitter;
c && (e = (e = c[ae] || null) ? Bd(e.formAction) : c.getAttribute("formAction"),
e !== null && (u = e,
c = null));
var r = new tu("action","action",null,a,n);
t.push({
event: r,
listeners: [{
instance: null,
listener: function() {
if (a.defaultPrevented) {
if (Zl !== 0) {
var d = c ? kd(n, c) : new FormData(n);
Bc(l, {
pending: !0,
data: d,
method: n.method,
action: u
}, null, d)
}
} else
typeof u == "function" && (r.preventDefault(),
d = c ? kd(n, c) : new FormData(n),
Bc(l, {
pending: !0,
data: d,
method: n.method,
action: u
}, u, d))
},
currentTarget: n
}]
})
}
}
for (var bo = 0; bo < ec.length; bo++) {
var vo = ec[bo]
, T0 = vo.toLowerCase()
, A0 = vo[0].toUpperCase() + vo.slice(1);
De(T0, "on" + A0)
}
De(yf, "onAnimationEnd"),
De(pf, "onAnimationIteration"),
De(bf, "onAnimationStart"),
De("dblclick", "onDoubleClick"),
De("focusin", "onFocus"),
De("focusout", "onBlur"),
De(Lg, "onTransitionRun"),
De(Xg, "onTransitionStart"),
De(Qg, "onTransitionCancel"),
De(vf, "onTransitionEnd"),
ea("onMouseEnter", ["mouseout", "mouseover"]),
ea("onMouseLeave", ["mouseout", "mouseover"]),
ea("onPointerEnter", ["pointerout", "pointerover"]),
ea("onPointerLeave", ["pointerout", "pointerover"]),
Ol("onChange", "change click focusin focusout input keydown keyup selectionchange".split("
")),
Ol("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup
selectionchange".split(" ")),
Ol("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]),
Ol("onCompositionEnd", "compositionend focusout keydown keypress keyup
mousedown".split(" ")),
Ol("onCompositionStart", "compositionstart focusout keydown keypress keyup
mousedown".split(" ")),
Ol("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup
mousedown".split(" "));
var Rn = "abort canplay canplaythrough durationchange emptied encrypted ended error
loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked
seeking stalled suspend timeupdate volumechange waiting".split(" ")
, z0 = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split("
").concat(Rn));
function qd(t, e) {
e = (e & 4) !== 0;
for (var l = 0; l < t.length; l++) {
var a = t[l]
, n = a.event;
a = a.listeners;
t: {
var u = void 0;
if (e)
for (var c = a.length - 1; 0 <= c; c--) {
var r = a[c]
, d = r.instance
, E = r.currentTarget;
if (r = r.listener,
d !== u && n.isPropagationStopped())
break t;
u = r,
n.currentTarget = E;
try {
u(n)
} catch (R) {
zu(R)
}
n.currentTarget = null,
u = d
}
else
for (c = 0; c < a.length; c++) {
if (r = a[c],
d = r.instance,
E = r.currentTarget,
r = r.listener,
d !== u && n.isPropagationStopped())
break t;
u = r,
n.currentTarget = E;
try {
u(n)
} catch (R) {
zu(R)
}
n.currentTarget = null,
u = d
}
}
}
}
function st(t, e) {
var l = e[_i];
l === void 0 && (l = e[_i] = new Set);
var a = t + "__bubble";
l.has(a) || (Yd(e, t, 2, !1),
l.add(a))
}
function So(t, e, l) {
var a = 0;
e && (a |= 4),
Yd(l, t, a, e)
}
var Gu = "_reactListening" + Math.random().toString(36).slice(2);
function wo(t) {
if (!t[Gu]) {
t[Gu] = !0,
_r.forEach(function(l) {
l !== "selectionchange" && (z0.has(l) || So(l, !1, t),
So(l, !0, t))
});
var e = t.nodeType === 9 ? t : t.ownerDocument;
e === null || e[Gu] || (e[Gu] = !0,
So("selectionchange", !1, e))
}
}
function Yd(t, e, l, a) {
switch (rh(e)) {
case 2:
var n = P0;
break;
case 8:
n = ty;
break;
default:
n = Ho
}
l = n.bind(null, e, l, t),
n = void 0,
!Li || e !== "touchstart" && e !== "touchmove" && e !== "wheel" || (n = !0),
a ? n !== void 0 ? t.addEventListener(e, l, {
capture: !0,
passive: n
}) : t.addEventListener(e, l, !0) : n !== void 0 ? t.addEventListener(e, l, {
passive: n
}) : t.addEventListener(e, l, !1)
}
function xo(t, e, l, a, n) {
var u = a;
if ((e & 1) === 0 && (e & 2) === 0 && a !== null)
t: for (; ; ) {
if (a === null)
return;
var c = a.tag;
if (c === 3 || c === 4) {
var r = a.stateNode.containerInfo;
if (r === n)
break;
if (c === 4)
for (c = a.return; c !== null; ) {
var d = c.tag;
if ((d === 3 || d === 4) && c.stateNode.containerInfo === n)
return;
c = c.return
}
for (; r !== null; ) {
if (c = Il(r),
c === null)
return;
if (d = c.tag,
d === 5 || d === 6 || d === 26 || d === 27) {
a = u = c;
continue t
}
r = r.parentNode
}
}
a = a.return
}
Vr(function() {
var E = u
, R = Gi(l)
, C = [];
t: {
var T = Sf.get(t);
if (T !== void 0) {
var A = tu
, et = t;
switch (t) {
case "keypress":
if (In(l) === 0)
break t;
case "keydown":
case "keyup":
A = Sg;
break;
case "focusin":
et = "focus",
A = Zi;
break;
case "focusout":
et = "blur",
A = Zi;
break;
case "beforeblur":
case "afterblur":
A = Zi;
break;
case "click":
if (l.button === 2)
break t;
case "auxclick":
case "dblclick":
case "mousedown":
case "mousemove":
case "mouseup":
case "mouseout":
case "mouseover":
case "contextmenu":
A = Jr;
break;
case "drag":
case "dragend":
case "dragenter":
case "dragexit":
case "dragleave":
case "dragover":
case "dragstart":
case "drop":
A = og;
break;
case "touchcancel":
case "touchend":
case "touchmove":
case "touchstart":
A = Eg;
break;
case yf:
case pf:
case bf:
A = sg;
break;
case vf:
A = Ag;
break;
case "scroll":
case "scrollend":
A = ig;
break;
case "wheel":
A = Mg;
break;
case "copy":
case "cut":
case "paste":
A = hg;
break;
case "gotpointercapture":
case "lostpointercapture":
case "pointercancel":
case "pointerdown":
case "pointermove":
case "pointerout":
case "pointerover":
case "pointerup":
A = Wr;
break;
case "toggle":
case "beforetoggle":
A = Dg
}
var F = (e & 4) !== 0
, Tt = !F && (t === "scroll" || t === "scrollend")
, w = F ? T !== null ? T + "Capture" : null : T;
F = [];
for (var v = E, x; v !== null; ) {
var D = v;
if (x = D.stateNode,
D = D.tag,
D !== 5 && D !== 26 && D !== 27 || x === null || w === null || (D = Za(v, w),
D != null && F.push(Dn(v, D, x))),
Tt)
break;
v = v.return
}
0 < F.length && (T = new A(T,et,null,l,R),
C.push({
event: T,
listeners: F
}))
}
}
if ((e & 7) === 0) {
t: {
if (T = t === "mouseover" || t === "pointerover",
A = t === "mouseout" || t === "pointerout",
T && l !== Yi && (et = l.relatedTarget || l.fromElement) && (Il(et) || et[Fl]))
break t;
if ((A || T) && (T = R.window === R ? R : (T = R.ownerDocument) ? T.defaultView ||
T.parentWindow : window,
A ? (et = l.relatedTarget || l.toElement,
A = E,
et = et ? Il(et) : null,
et !== null && (Tt = y(et),
F = et.tag,
et !== Tt || F !== 5 && F !== 27 && F !== 6) && (et = null)) : (A = null,
et = E),
A !== et)) {
if (F = Jr,
D = "onMouseLeave",
w = "onMouseEnter",
v = "mouse",
(t === "pointerout" || t === "pointerover") && (F = Wr,
D = "onPointerLeave",
w = "onPointerEnter",
v = "pointer"),
Tt = A == null ? T : Va(A),
x = et == null ? T : Va(et),
T = new F(D,v + "leave",A,l,R),
T.target = Tt,
T.relatedTarget = x,
D = null,
Il(R) === E && (F = new F(w,v + "enter",et,l,R),
F.target = x,
F.relatedTarget = Tt,
D = F),
Tt = D,
A && et)
e: {
for (F = A,
w = et,
v = 0,
x = F; x; x = Ca(x))
v++;
for (x = 0,
D = w; D; D = Ca(D))
x++;
for (; 0 < v - x; )
F = Ca(F),
v--;
for (; 0 < x - v; )
w = Ca(w),
x--;
for (; v--; ) {
if (F === w || w !== null && F === w.alternate)
break e;
F = Ca(F),
w = Ca(w)
}
F = null
}
else
F = null;
A !== null && Gd(C, T, A, F, !1),
et !== null && Tt !== null && Gd(C, Tt, et, F, !0)
}
}
t: {
if (T = E ? Va(E) : window,
A = T.nodeName && T.nodeName.toLowerCase(),
A === "select" || A === "input" && T.type === "file")
var Q = nf;
else if (lf(T))
if (uf)
Q = Yg;
else {
Q = kg;
var ot = Bg
}
else
A = T.nodeName,
!A || A.toLowerCase() !== "input" || T.type !== "checkbox" && T.type !== "radio" ? E &&
qi(E.elementType) && (Q = nf) : Q = qg;
if (Q && (Q = Q(t, E))) {
af(C, Q, l, R);
break t
}
ot && ot(t, T, E),
t === "focusout" && E && T.type === "number" && E.memoizedProps.value != null &&
ki(T, "number", T.value)
}
switch (ot = E ? Va(E) : window,
t) {
case "focusin":
(lf(ot) || ot.contentEditable === "true") && (oa = ot,
Ii = E,
tn = null);
break;
case "focusout":
tn = Ii = oa = null;
break;
case "mousedown":
Pi = !0;
break;
case "contextmenu":
case "mouseup":
case "dragend":
Pi = !1,
mf(C, l, R);
break;
case "selectionchange":
if (jg)
break;
case "keydown":
case "keyup":
mf(C, l, R)
}
var J;
if (Ji)
t: {
switch (t) {
case "compositionstart":
var I = "onCompositionStart";
break t;
case "compositionend":
I = "onCompositionEnd";
break t;
case "compositionupdate":
I = "onCompositionUpdate";
break t
}
I = void 0
}
else
ca ? tf(t, l) && (I = "onCompositionEnd") : t === "keydown" && l.keyCode === 229 && (I
= "onCompositionStart");
I && (Fr && l.locale !== "ko" && (ca || I !== "onCompositionStart" ? I ===
"onCompositionEnd" && ca && (J = Zr()) : (il = R,
Xi = "value"in il ? il.value : il.textContent,
ca = !0)),
ot = ju(E, I),
0 < ot.length && (I = new $r(I,t,null,l,R),
C.push({
event: I,
listeners: ot
}),
J ? I.data = J : (J = ef(l),
J !== null && (I.data = J)))),
(J = _g ? Cg(t, l) : Ug(t, l)) && (I = ju(E, "onBeforeInput"),
0 < I.length && (ot = new $r("onBeforeInput","beforeinput",null,l,R),
C.push({
event: ot,
listeners: I
}),
ot.data = J)),
E0(C, t, E, l, R)
}
qd(C, e)
})
}
function Dn(t, e, l) {
return {
instance: t,
listener: e,
currentTarget: l
}
}
function ju(t, e) {
for (var l = e + "Capture", a = []; t !== null; ) {
var n = t
, u = n.stateNode;
if (n = n.tag,
n !== 5 && n !== 26 && n !== 27 || u === null || (n = Za(t, l),
n != null && a.unshift(Dn(t, n, u)),
n = Za(t, e),
n != null && a.push(Dn(t, n, u))),
t.tag === 3)
return a;
t = t.return
}
return []
}
function Ca(t) {
if (t === null)
return null;
do
t = t.return;
while (t && t.tag !== 5 && t.tag !== 27);
return t || null
}
function Gd(t, e, l, a, n) {
for (var u = e._reactName, c = []; l !== null && l !== a; ) {
var r = l
, d = r.alternate
, E = r.stateNode;
if (r = r.tag,
d !== null && d === a)
break;
r !== 5 && r !== 26 && r !== 27 || E === null || (d = E,
n ? (E = Za(l, u),
E != null && c.unshift(Dn(l, E, d))) : n || (E = Za(l, u),
E != null && c.push(Dn(l, E, d)))),
l = l.return
}
c.length !== 0 && t.push({
event: e,
listeners: c
})
}
var M0 = /\r\n?/g
, R0 = /\u0000|\uFFFD/g;
function jd(t) {
return (typeof t == "string" ? t : "" + t).replace(M0, `
`).replace(R0, "")
}
function Ld(t, e) {
return e = jd(e),
jd(t) === e
}
function Lu() {}
function Et(t, e, l, a, n, u) {
switch (l) {
case "children":
typeof a == "string" ? e === "body" || e === "textarea" && a === "" || na(t, a) : (typeof a ==
"number" || typeof a == "bigint") && e !== "body" && na(t, "" + a);
break;
case "className":
Kn(t, "class", a);
break;
case "tabIndex":
Kn(t, "tabindex", a);
break;
case "dir":
case "role":
case "viewBox":
case "width":
case "height":
Kn(t, l, a);
break;
case "style":
Xr(t, a, u);
break;
case "data":
if (e !== "object") {
Kn(t, "data", a);
break
}
case "src":
case "href":
if (a === "" && (e !== "a" || l !== "href")) {
t.removeAttribute(l);
break
}
if (a == null || typeof a == "function" || typeof a == "symbol" || typeof a == "boolean") {
t.removeAttribute(l);
break
}
a = Wn("" + a),
t.setAttribute(l, a);
break;
case "action":
case "formAction":
if (typeof a == "function") {
t.setAttribute(l, "javascript:throw new Error('A React form was unexpectedly submitted. If
you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re
trying to use event.stopPropagation() in a submit event handler, consider also calling
event.preventDefault().')");
break
} else
typeof u == "function" && (l === "formAction" ? (e !== "input" && Et(t, e, "name", n.name,
n, null),
Et(t, e, "formEncType", n.formEncType, n, null),
Et(t, e, "formMethod", n.formMethod, n, null),
Et(t, e, "formTarget", n.formTarget, n, null)) : (Et(t, e, "encType", n.encType, n, null),
Et(t, e, "method", n.method, n, null),
Et(t, e, "target", n.target, n, null)));
if (a == null || typeof a == "symbol" || typeof a == "boolean") {
t.removeAttribute(l);
break
}
a = Wn("" + a),
t.setAttribute(l, a);
break;
case "onClick":
a != null && (t.onclick = Lu);
break;
case "onScroll":
a != null && st("scroll", t);
break;
case "onScrollEnd":
a != null && st("scrollend", t);
break;
case "dangerouslySetInnerHTML":
if (a != null) {
if (typeof a != "object" || !("__html"in a))
throw Error(o(61));
if (l = a.__html,
l != null) {
if (n.children != null)
throw Error(o(60));
t.innerHTML = l
}
}
break;
case "multiple":
t.multiple = a && typeof a != "function" && typeof a != "symbol";
break;
case "muted":
t.muted = a && typeof a != "function" && typeof a != "symbol";
break;
case "suppressContentEditableWarning":
case "suppressHydrationWarning":
case "defaultValue":
case "defaultChecked":
case "innerHTML":
case "ref":
break;
case "autoFocus":
break;
case "xlinkHref":
if (a == null || typeof a == "function" || typeof a == "boolean" || typeof a == "symbol") {
t.removeAttribute("xlink:href");
break
}
l = Wn("" + a),
t.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", l);
break;
case "contentEditable":
case "spellCheck":
case "draggable":
case "value":
case "autoReverse":
case "externalResourcesRequired":
case "focusable":
case "preserveAlpha":
a != null && typeof a != "function" && typeof a != "symbol" ? t.setAttribute(l, "" + a) :
t.removeAttribute(l);
break;
case "inert":
case "allowFullScreen":
case "async":
case "autoPlay":
case "controls":
case "default":
case "defer":
case "disabled":
case "disablePictureInPicture":
case "disableRemotePlayback":
case "formNoValidate":
case "hidden":
case "loop":
case "noModule":
case "noValidate":
case "open":
case "playsInline":
case "readOnly":
case "required":
case "reversed":
case "scoped":
case "seamless":
case "itemScope":
a && typeof a != "function" && typeof a != "symbol" ? t.setAttribute(l, "") :
t.removeAttribute(l);
break;
case "capture":
case "download":
a === !0 ? t.setAttribute(l, "") : a !== !1 && a != null && typeof a != "function" && typeof a
!= "symbol" ? t.setAttribute(l, a) : t.removeAttribute(l);
break;
case "cols":
case "rows":
case "size":
case "span":
a != null && typeof a != "function" && typeof a != "symbol" && !isNaN(a) && 1 <= a ?
t.setAttribute(l, a) : t.removeAttribute(l);
break;
case "rowSpan":
case "start":
a == null || typeof a == "function" || typeof a == "symbol" || isNaN(a) ? t.removeAttribute(l) :
t.setAttribute(l, a);
break;
case "popover":
st("beforetoggle", t),
st("toggle", t),
Zn(t, "popover", a);
break;
case "xlinkActuate":
Ge(t, "http://www.w3.org/1999/xlink", "xlink:actuate", a);
break;
case "xlinkArcrole":
Ge(t, "http://www.w3.org/1999/xlink", "xlink:arcrole", a);
break;
case "xlinkRole":
Ge(t, "http://www.w3.org/1999/xlink", "xlink:role", a);
break;
case "xlinkShow":
Ge(t, "http://www.w3.org/1999/xlink", "xlink:show", a);
break;
case "xlinkTitle":
Ge(t, "http://www.w3.org/1999/xlink", "xlink:title", a);
break;
case "xlinkType":
Ge(t, "http://www.w3.org/1999/xlink", "xlink:type", a);
break;
case "xmlBase":
Ge(t, "http://www.w3.org/XML/1998/namespace", "xml:base", a);
break;
case "xmlLang":
Ge(t, "http://www.w3.org/XML/1998/namespace", "xml:lang", a);
break;
case "xmlSpace":
Ge(t, "http://www.w3.org/XML/1998/namespace", "xml:space", a);
break;
case "is":
Zn(t, "is", a);
break;
case "innerText":
case "textContent":
break;
default:
(!(2 < l.length) || l[0] !== "o" && l[0] !== "O" || l[1] !== "n" && l[1] !== "N") && (l =
ng.get(l) || l,
Zn(t, l, a))
}
}
function Eo(t, e, l, a, n, u) {
switch (l) {
case "style":
Xr(t, a, u);
break;
case "dangerouslySetInnerHTML":
if (a != null) {
if (typeof a != "object" || !("__html"in a))
throw Error(o(61));
if (l = a.__html,
l != null) {
if (n.children != null)
throw Error(o(60));
t.innerHTML = l
}
}
break;
case "children":
typeof a == "string" ? na(t, a) : (typeof a == "number" || typeof a == "bigint") && na(t, "" +
a);
break;
case "onScroll":
a != null && st("scroll", t);
break;
case "onScrollEnd":
a != null && st("scrollend", t);
break;
case "onClick":
a != null && (t.onclick = Lu);
break;
case "suppressContentEditableWarning":
case "suppressHydrationWarning":
case "innerHTML":
case "ref":
break;
case "innerText":
case "textContent":
break;
default:
if (!Cr.hasOwnProperty(l))
t: {
if (l[0] === "o" && l[1] === "n" && (n = l.endsWith("Capture"),
e = l.slice(2, n ? l.length - 7 : void 0),
u = t[ae] || null,
u = u != null ? u[l] : null,
typeof u == "function" && t.removeEventListener(e, u, n),
typeof a == "function")) {
typeof u != "function" && u !== null && (l in t ? t[l] = null : t.hasAttribute(l) &&
t.removeAttribute(l)),
t.addEventListener(e, a, n);
break t
}
l in t ? t[l] = a : a === !0 ? t.setAttribute(l, "") : Zn(t, l, a)
}
}
}
function Kt(t, e, l) {
switch (e) {
case "div":
case "span":
case "svg":
case "path":
case "a":
case "g":
case "p":
case "li":
break;
case "img":
st("error", t),
st("load", t);
var a = !1, n = !1, u;
for (u in l)
if (l.hasOwnProperty(u)) {
var c = l[u];
if (c != null)
switch (u) {
case "src":
a = !0;
break;
case "srcSet":
n = !0;
break;
case "children":
case "dangerouslySetInnerHTML":
throw Error(o(137, e));
default:
Et(t, e, u, c, l, null)
}
}
n && Et(t, e, "srcSet", l.srcSet, l, null),
a && Et(t, e, "src", l.src, l, null);
return;
case "input":
st("invalid", t);
var r = u = c = n = null
, d = null
, E = null;
for (a in l)
if (l.hasOwnProperty(a)) {
var R = l[a];
if (R != null)
switch (a) {
case "name":
n = R;
break;
case "type":
c = R;
break;
case "checked":
d = R;
break;
case "defaultChecked":
E = R;
break;
case "value":
u = R;
break;
case "defaultValue":
r = R;
break;
case "children":
case "dangerouslySetInnerHTML":
if (R != null)
throw Error(o(137, e));
break;
default:
Et(t, e, a, R, l, null)
}
}
Yr(t, u, r, d, E, c, n, !1),
Jn(t);
return;
case "select":
st("invalid", t),
a = c = u = null;
for (n in l)
if (l.hasOwnProperty(n) && (r = l[n],
r != null))
switch (n) {
case "value":
u = r;
break;
case "defaultValue":
c = r;
break;
case "multiple":
a = r;
default:
Et(t, e, n, r, l, null)
}
e = u,
l = c,
t.multiple = !!a,
e != null ? aa(t, !!a, e, !1) : l != null && aa(t, !!a, l, !0);
return;
case "textarea":
st("invalid", t),
u = n = a = null;
for (c in l)
if (l.hasOwnProperty(c) && (r = l[c],
r != null))
switch (c) {
case "value":
a = r;
break;
case "defaultValue":
n = r;
break;
case "children":
u = r;
break;
case "dangerouslySetInnerHTML":
if (r != null)
throw Error(o(91));
break;
default:
Et(t, e, c, r, l, null)
}
jr(t, a, n, u),
Jn(t);
return;
case "option":
for (d in l)
if (l.hasOwnProperty(d) && (a = l[d],
a != null))
switch (d) {
case "selected":
t.selected = a && typeof a != "function" && typeof a != "symbol";
break;
default:
Et(t, e, d, a, l, null)
}
return;
case "dialog":
st("beforetoggle", t),
st("toggle", t),
st("cancel", t),
st("close", t);
break;
case "iframe":
case "object":
st("load", t);
break;
case "video":
case "audio":
for (a = 0; a < Rn.length; a++)
st(Rn[a], t);
break;
case "image":
st("error", t),
st("load", t);
break;
case "details":
st("toggle", t);
break;
case "embed":
case "source":
case "link":
st("error", t),
st("load", t);
case "area":
case "base":
case "br":
case "col":
case "hr":
case "keygen":
case "meta":
case "param":
case "track":
case "wbr":
case "menuitem":
for (E in l)
if (l.hasOwnProperty(E) && (a = l[E],
a != null))
switch (E) {
case "children":
case "dangerouslySetInnerHTML":
throw Error(o(137, e));
default:
Et(t, e, E, a, l, null)
}
return;
default:
if (qi(e)) {
for (R in l)
l.hasOwnProperty(R) && (a = l[R],
a !== void 0 && Eo(t, e, R, a, l, void 0));
return
}
}
for (r in l)
l.hasOwnProperty(r) && (a = l[r],
a != null && Et(t, e, r, a, l, null))
}
function D0(t, e, l, a) {
switch (e) {
case "div":
case "span":
case "svg":
case "path":
case "a":
case "g":
case "p":
case "li":
break;
case "input":
var n = null
, u = null
, c = null
, r = null
, d = null
, E = null
, R = null;
for (A in l) {
var C = l[A];
if (l.hasOwnProperty(A) && C != null)
switch (A) {
case "checked":
break;
case "value":
break;
case "defaultValue":
d = C;
default:
a.hasOwnProperty(A) || Et(t, e, A, null, a, C)
}
}
for (var T in a) {
var A = a[T];
if (C = l[T],
a.hasOwnProperty(T) && (A != null || C != null))
switch (T) {
case "type":
u = A;
break;
case "name":
n = A;
break;
case "checked":
E = A;
break;
case "defaultChecked":
R = A;
break;
case "value":
c = A;
break;
case "defaultValue":
r = A;
break;
case "children":
case "dangerouslySetInnerHTML":
if (A != null)
throw Error(o(137, e));
break;
default:
A !== C && Et(t, e, T, A, a, C)
}
}
Bi(t, c, r, d, E, R, u, n);
return;
case "select":
A = c = r = T = null;
for (u in l)
if (d = l[u],
l.hasOwnProperty(u) && d != null)
switch (u) {
case "value":
break;
case "multiple":
A = d;
default:
a.hasOwnProperty(u) || Et(t, e, u, null, a, d)
}
for (n in a)
if (u = a[n],
d = l[n],
a.hasOwnProperty(n) && (u != null || d != null))
switch (n) {
case "value":
T = u;
break;
case "defaultValue":
r = u;
break;
case "multiple":
c = u;
default:
u !== d && Et(t, e, n, u, a, d)
}
e = r,
l = c,
a = A,
T != null ? aa(t, !!l, T, !1) : !!a != !!l && (e != null ? aa(t, !!l, e, !0) : aa(t, !!l, l ? [] : "", !1));
return;
case "textarea":
A = T = null;
for (r in l)
if (n = l[r],
l.hasOwnProperty(r) && n != null && !a.hasOwnProperty(r))
switch (r) {
case "value":
break;
case "children":
break;
default:
Et(t, e, r, null, a, n)
}
for (c in a)
if (n = a[c],
u = l[c],
a.hasOwnProperty(c) && (n != null || u != null))
switch (c) {
case "value":
T = n;
break;
case "defaultValue":
A = n;
break;
case "children":
break;
case "dangerouslySetInnerHTML":
if (n != null)
throw Error(o(91));
break;
default:
n !== u && Et(t, e, c, n, a, u)
}
Gr(t, T, A);
return;
case "option":
for (var et in l)
if (T = l[et],
l.hasOwnProperty(et) && T != null && !a.hasOwnProperty(et))
switch (et) {
case "selected":
t.selected = !1;
break;
default:
Et(t, e, et, null, a, T)
}
for (d in a)
if (T = a[d],
A = l[d],
a.hasOwnProperty(d) && T !== A && (T != null || A != null))
switch (d) {
case "selected":
t.selected = T && typeof T != "function" && typeof T != "symbol";
break;
default:
Et(t, e, d, T, a, A)
}
return;
case "img":
case "link":
case "area":
case "base":
case "br":
case "col":
case "embed":
case "hr":
case "keygen":
case "meta":
case "param":
case "source":
case "track":
case "wbr":
case "menuitem":
for (var F in l)
T = l[F],
l.hasOwnProperty(F) && T != null && !a.hasOwnProperty(F) && Et(t, e, F, null, a, T);
for (E in a)
if (T = a[E],
A = l[E],
a.hasOwnProperty(E) && T !== A && (T != null || A != null))
switch (E) {
case "children":
case "dangerouslySetInnerHTML":
if (T != null)
throw Error(o(137, e));
break;
default:
Et(t, e, E, T, a, A)
}
return;
default:
if (qi(e)) {
for (var Tt in l)
T = l[Tt],
l.hasOwnProperty(Tt) && T !== void 0 && !a.hasOwnProperty(Tt) && Eo(t, e, Tt, void 0, a,
T);
for (R in a)
T = a[R],
A = l[R],
!a.hasOwnProperty(R) || T === A || T === void 0 && A === void 0 || Eo(t, e, R, T, a, A);
return
}
}
for (var w in l)
T = l[w],
l.hasOwnProperty(w) && T != null && !a.hasOwnProperty(w) && Et(t, e, w, null, a, T);
for (C in a)
T = a[C],
A = l[C],
!a.hasOwnProperty(C) || T === A || T == null && A == null || Et(t, e, C, T, a, A)
}
var To = null
, Ao = null;
function Xu(t) {
return t.nodeType === 9 ? t : t.ownerDocument
}
function Xd(t) {
switch (t) {
case "http://www.w3.org/2000/svg":
return 1;
case "http://www.w3.org/1998/Math/MathML":
return 2;
default:
return 0
}
}
function Qd(t, e) {
if (t === 0)
switch (e) {
case "svg":
return 1;
case "math":
return 2;
default:
return 0
}
return t === 1 && e === "foreignObject" ? 0 : t
}
function zo(t, e) {
return t === "textarea" || t === "noscript" || typeof e.children == "string" || typeof e.children
== "number" || typeof e.children == "bigint" || typeof e.dangerouslySetInnerHTML ==
"object" && e.dangerouslySetInnerHTML !== null && e.dangerouslySetInnerHTML.__html
!= null
}
var Mo = null;
function O0() {
var t = window.event;
return t && t.type === "popstate" ? t === Mo ? !1 : (Mo = t,
!0) : (Mo = null,
!1)
}
var Vd = typeof setTimeout == "function" ? setTimeout : void 0
, _0 = typeof clearTimeout == "function" ? clearTimeout : void 0
, Zd = typeof Promise == "function" ? Promise : void 0
, C0 = typeof queueMicrotask == "function" ? queueMicrotask : typeof Zd < "u" ? function(t)
{
return Zd.resolve(null).then(t).catch(U0)
}
: Vd;
function U0(t) {
setTimeout(function() {
throw t
})
}
function xl(t) {
return t === "head"
}
function Kd(t, e) {
var l = e
, a = 0
, n = 0;
do {
var u = l.nextSibling;
if (t.removeChild(l),
u && u.nodeType === 8)
if (l = u.data,
l === "/$") {
if (0 < a && 8 > a) {
l = a;
var c = t.ownerDocument;
if (l & 1 && On(c.documentElement),
l & 2 && On(c.body),
l & 4)
for (l = c.head,
On(l),
c = l.firstChild; c; ) {
var r = c.nextSibling
, d = c.nodeName;
c[Qa] || d === "SCRIPT" || d === "STYLE" || d === "LINK" && c.rel.toLowerCase() ===
"stylesheet" || l.removeChild(c),
c = r
}
}
if (n === 0) {
t.removeChild(u),
qn(e);
return
}
n--
} else
l === "$" || l === "$?" || l === "$!" ? n++ : a = l.charCodeAt(0) - 48;
else
a = 0;
l = u
} while (l);
qn(e)
}
function Ro(t) {
var e = t.firstChild;
for (e && e.nodeType === 10 && (e = e.nextSibling); e; ) {
var l = e;
switch (e = e.nextSibling,
l.nodeName) {
case "HTML":
case "HEAD":
case "BODY":
Ro(l),
Ci(l);
continue;
case "SCRIPT":
case "STYLE":
continue;
case "LINK":
if (l.rel.toLowerCase() === "stylesheet")
continue
}
t.removeChild(l)
}
}
function N0(t, e, l, a) {
for (; t.nodeType === 1; ) {
var n = l;
if (t.nodeName.toLowerCase() !== e.toLowerCase()) {
if (!a && (t.nodeName !== "INPUT" || t.type !== "hidden"))
break
} else if (a) {
if (!t[Qa])
switch (e) {
case "meta":
if (!t.hasAttribute("itemprop"))
break;
return t;
case "link":
if (u = t.getAttribute("rel"),
u === "stylesheet" && t.hasAttribute("data-precedence"))
break;
if (u !== n.rel || t.getAttribute("href") !== (n.href == null || n.href === "" ? null : n.href) ||
t.getAttribute("crossorigin") !== (n.crossOrigin == null ? null : n.crossOrigin) ||
t.getAttribute("title") !== (n.title == null ? null : n.title))
break;
return t;
case "style":
if (t.hasAttribute("data-precedence"))
break;
return t;
case "script":
if (u = t.getAttribute("src"),
(u !== (n.src == null ? null : n.src) || t.getAttribute("type") !== (n.type == null ? null : n.type)
|| t.getAttribute("crossorigin") !== (n.crossOrigin == null ? null : n.crossOrigin)) && u &&
t.hasAttribute("async") && !t.hasAttribute("itemprop"))
break;
return t;
default:
return t
}
} else if (e === "input" && t.type === "hidden") {
var u = n.name == null ? null : "" + n.name;
if (n.type === "hidden" && t.getAttribute("name") === u)
return t
} else
return t;
if (t = _e(t.nextSibling),
t === null)
break
}
return null
}
function H0(t, e, l) {
if (e === "")
return null;
for (; t.nodeType !== 3; )
if ((t.nodeType !== 1 || t.nodeName !== "INPUT" || t.type !== "hidden") && !l || (t =
_e(t.nextSibling),
t === null))
return null;
return t
}
function Do(t) {
return t.data === "$!" || t.data === "$?" && t.ownerDocument.readyState === "complete"
}
function B0(t, e) {
var l = t.ownerDocument;
if (t.data !== "$?" || l.readyState === "complete")
e();
else {
var a = function() {
e(),
l.removeEventListener("DOMContentLoaded", a)
};
l.addEventListener("DOMContentLoaded", a),
t._reactRetry = a
}
}
function _e(t) {
for (; t != null; t = t.nextSibling) {
var e = t.nodeType;
if (e === 1 || e === 3)
break;
if (e === 8) {
if (e = t.data,
e === "$" || e === "$!" || e === "$?" || e === "F!" || e === "F")
break;
if (e === "/$")
return null
}
}
return t
}
var Oo = null;
function Jd(t) {
t = t.previousSibling;
for (var e = 0; t; ) {
if (t.nodeType === 8) {
var l = t.data;
if (l === "$" || l === "$!" || l === "$?") {
if (e === 0)
return t;
e--
} else
l === "/$" && e++
}
t = t.previousSibling
}
return null
}
function $d(t, e, l) {
switch (e = Xu(l),
t) {
case "html":
if (t = e.documentElement,
!t)
throw Error(o(452));
return t;
case "head":
if (t = e.head,
!t)
throw Error(o(453));
return t;
case "body":
if (t = e.body,
!t)
throw Error(o(454));
return t;
default:
throw Error(o(451))
}
}
function On(t) {
for (var e = t.attributes; e.length; )
t.removeAttributeNode(e[0]);
Ci(t)
}
var Me = new Map
, Wd = new Set;
function Qu(t) {
return typeof t.getRootNode == "function" ? t.getRootNode() : t.nodeType === 9 ? t :
t.ownerDocument
}
var tl = H.d;
H.d = {
f: k0,
r: q0,
D: Y0,
C: G0,
L: j0,
m: L0,
X: Q0,
S: X0,
M: V0
};
function k0() {
var t = tl.f()
, e = Hu();
return t || e
}
function q0(t) {
var e = Pl(t);
e !== null && e.tag === 5 && e.type === "form" ? ys(e) : tl.r(t)
}
var Ua = typeof document > "u" ? null : document;
function Fd(t, e, l) {
var a = Ua;
if (a && typeof e == "string" && e) {
var n = Se(e);
n = 'link[rel="' + t + '"][href="' + n + '"]',
typeof l == "string" && (n += '[crossorigin="' + l + '"]'),
Wd.has(n) || (Wd.add(n),
t = {
rel: t,
crossOrigin: l,
href: e
},
a.querySelector(n) === null && (e = a.createElement("link"),
Kt(e, "link", t),
jt(e),
a.head.appendChild(e)))
}
}
function Y0(t) {
tl.D(t),
Fd("dns-prefetch", t, null)
}
function G0(t, e) {
tl.C(t, e),
Fd("preconnect", t, e)
}
function j0(t, e, l) {
tl.L(t, e, l);
var a = Ua;
if (a && t && e) {
var n = 'link[rel="preload"][as="' + Se(e) + '"]';
e === "image" && l && l.imageSrcSet ? (n += '[imagesrcset="' + Se(l.imageSrcSet) + '"]',
typeof l.imageSizes == "string" && (n += '[imagesizes="' + Se(l.imageSizes) + '"]')) : n +=
'[href="' + Se(t) + '"]';
var u = n;
switch (e) {
case "style":
u = Na(t);
break;
case "script":
u = Ha(t)
}
Me.has(u) || (t = M({
rel: "preload",
href: e === "image" && l && l.imageSrcSet ? void 0 : t,
as: e
}, l),
Me.set(u, t),
a.querySelector(n) !== null || e === "style" && a.querySelector(_n(u)) || e === "script" &&
a.querySelector(Cn(u)) || (e = a.createElement("link"),
Kt(e, "link", t),
jt(e),
a.head.appendChild(e)))
}
}
function L0(t, e) {
tl.m(t, e);
var l = Ua;
if (l && t) {
var a = e && typeof e.as == "string" ? e.as : "script"
, n = 'link[rel="modulepreload"][as="' + Se(a) + '"][href="' + Se(t) + '"]'
, u = n;
switch (a) {
case "audioworklet":
case "paintworklet":
case "serviceworker":
case "sharedworker":
case "worker":
case "script":
u = Ha(t)
}
if (!Me.has(u) && (t = M({
rel: "modulepreload",
href: t
}, e),
Me.set(u, t),
l.querySelector(n) === null)) {
switch (a) {
case "audioworklet":
case "paintworklet":
case "serviceworker":
case "sharedworker":
case "worker":
case "script":
if (l.querySelector(Cn(u)))
return
}
a = l.createElement("link"),
Kt(a, "link", t),
jt(a),
l.head.appendChild(a)
}
}
}
function X0(t, e, l) {
tl.S(t, e, l);
var a = Ua;
if (a && t) {
var n = ta(a).hoistableStyles
, u = Na(t);
e = e || "default";
var c = n.get(u);
if (!c) {
var r = {
loading: 0,
preload: null
};
if (c = a.querySelector(_n(u)))
r.loading = 5;
else {
t = M({
rel: "stylesheet",
href: t,
"data-precedence": e
}, l),
(l = Me.get(u)) && _o(t, l);
var d = c = a.createElement("link");
jt(d),
Kt(d, "link", t),
d._p = new Promise(function(E, R) {
d.onload = E,
d.onerror = R
}
),
d.addEventListener("load", function() {
r.loading |= 1
}),
d.addEventListener("error", function() {
r.loading |= 2
}),
r.loading |= 4,
Vu(c, e, a)
}
c = {
type: "stylesheet",
instance: c,
count: 1,
state: r
},
n.set(u, c)
}
}
}
function Q0(t, e) {
tl.X(t, e);
var l = Ua;
if (l && t) {
var a = ta(l).hoistableScripts
, n = Ha(t)
, u = a.get(n);
u || (u = l.querySelector(Cn(n)),
u || (t = M({
src: t,
async: !0
}, e),
(e = Me.get(n)) && Co(t, e),
u = l.createElement("script"),
jt(u),
Kt(u, "link", t),
l.head.appendChild(u)),
u = {
type: "script",
instance: u,
count: 1,
state: null
},
a.set(n, u))
}
}
function V0(t, e) {
tl.M(t, e);
var l = Ua;
if (l && t) {
var a = ta(l).hoistableScripts
, n = Ha(t)
, u = a.get(n);
u || (u = l.querySelector(Cn(n)),
u || (t = M({
src: t,
async: !0,
type: "module"
}, e),
(e = Me.get(n)) && Co(t, e),
u = l.createElement("script"),
jt(u),
Kt(u, "link", t),
l.head.appendChild(u)),
u = {
type: "script",
instance: u,
count: 1,
state: null
},
a.set(n, u))
}
}
function Id(t, e, l, a) {
var n = (n = tt.current) ? Qu(n) : null;
if (!n)
throw Error(o(446));
switch (t) {
case "meta":
case "title":
return null;
case "style":
return typeof l.precedence == "string" && typeof l.href == "string" ? (e = Na(l.href),
l = ta(n).hoistableStyles,
a = l.get(e),
a || (a = {
type: "style",
instance: null,
count: 0,
state: null
},
l.set(e, a)),
a) : {
type: "void",
instance: null,
count: 0,
state: null
};
case "link":
if (l.rel === "stylesheet" && typeof l.href == "string" && typeof l.precedence == "string") {
t = Na(l.href);
var u = ta(n).hoistableStyles
, c = u.get(t);
if (c || (n = n.ownerDocument || n,
c = {
type: "stylesheet",
instance: null,
count: 0,
state: {
loading: 0,
preload: null
}
},
u.set(t, c),
(u = n.querySelector(_n(t))) && !u._p && (c.instance = u,
c.state.loading = 5),
Me.has(t) || (l = {
rel: "preload",
as: "style",
href: l.href,
crossOrigin: l.crossOrigin,
integrity: l.integrity,
media: l.media,
hrefLang: l.hrefLang,
referrerPolicy: l.referrerPolicy
},
Me.set(t, l),
u || Z0(n, t, l, c.state))),
e && a === null)
throw Error(o(528, ""));
return c
}
if (e && a !== null)
throw Error(o(529, ""));
return null;
case "script":
return e = l.async,
l = l.src,
typeof l == "string" && e && typeof e != "function" && typeof e != "symbol" ? (e = Ha(l),
l = ta(n).hoistableScripts,
a = l.get(e),
a || (a = {
type: "script",
instance: null,
count: 0,
state: null
},
l.set(e, a)),
a) : {
type: "void",
instance: null,
count: 0,
state: null
};
default:
throw Error(o(444, t))
}
}
function Na(t) {
return 'href="' + Se(t) + '"'
}
function _n(t) {
return 'link[rel="stylesheet"][' + t + "]"
}
function Pd(t) {
return M({}, t, {
"data-precedence": t.precedence,
precedence: null
})
}
function Z0(t, e, l, a) {
t.querySelector('link[rel="preload"][as="style"][' + e + "]") ? a.loading = 1 : (e =
t.createElement("link"),
a.preload = e,
e.addEventListener("load", function() {
return a.loading |= 1
}),
e.addEventListener("error", function() {
return a.loading |= 2
}),
Kt(e, "link", l),
jt(e),
t.head.appendChild(e))
}
function Ha(t) {
return '[src="' + Se(t) + '"]'
}
function Cn(t) {
return "script[async]" + t
}
function th(t, e, l) {
if (e.count++,
e.instance === null)
switch (e.type) {
case "style":
var a = t.querySelector('style[data-href~="' + Se(l.href) + '"]');
if (a)
return e.instance = a,
jt(a),
a;
var n = M({}, l, {
"data-href": l.href,
"data-precedence": l.precedence,
href: null,
precedence: null
});
return a = (t.ownerDocument || t).createElement("style"),
jt(a),
Kt(a, "style", n),
Vu(a, l.precedence, t),
e.instance = a;
case "stylesheet":
n = Na(l.href);
var u = t.querySelector(_n(n));
if (u)
return e.state.loading |= 4,
e.instance = u,
jt(u),
u;
a = Pd(l),
(n = Me.get(n)) && _o(a, n),
u = (t.ownerDocument || t).createElement("link"),
jt(u);
var c = u;
return c._p = new Promise(function(r, d) {
c.onload = r,
c.onerror = d
}
),
Kt(u, "link", a),
e.state.loading |= 4,
Vu(u, l.precedence, t),
e.instance = u;
case "script":
return u = Ha(l.src),
(n = t.querySelector(Cn(u))) ? (e.instance = n,
jt(n),
n) : (a = l,
(n = Me.get(u)) && (a = M({}, l),
Co(a, n)),
t = t.ownerDocument || t,
n = t.createElement("script"),
jt(n),
Kt(n, "link", a),
t.head.appendChild(n),
e.instance = n);
case "void":
return null;
default:
throw Error(o(443, e.type))
}
else
e.type === "stylesheet" && (e.state.loading & 4) === 0 && (a = e.instance,
e.state.loading |= 4,
Vu(a, l.precedence, t));
return e.instance
}
function Vu(t, e, l) {
for (var a = l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-
precedence]'), n = a.length ? a[a.length - 1] : null, u = n, c = 0; c < a.length; c++) {
var r = a[c];
if (r.dataset.precedence === e)
u = r;
else if (u !== n)
break
}
u ? u.parentNode.insertBefore(t, u.nextSibling) : (e = l.nodeType === 9 ? l.head : l,
e.insertBefore(t, e.firstChild))
}
function _o(t, e) {
t.crossOrigin == null && (t.crossOrigin = e.crossOrigin),
t.referrerPolicy == null && (t.referrerPolicy = e.referrerPolicy),
t.title == null && (t.title = e.title)
}
function Co(t, e) {
t.crossOrigin == null && (t.crossOrigin = e.crossOrigin),
t.referrerPolicy == null && (t.referrerPolicy = e.referrerPolicy),
t.integrity == null && (t.integrity = e.integrity)
}
var Zu = null;
function eh(t, e, l) {
if (Zu === null) {
var a = new Map
, n = Zu = new Map;
n.set(l, a)
} else
n = Zu,
a = n.get(l),
a || (a = new Map,
n.set(l, a));
if (a.has(t))
return a;
for (a.set(t, null),
l = l.getElementsByTagName(t),
n = 0; n < l.length; n++) {
var u = l[n];
if (!(u[Qa] || u[Wt] || t === "link" && u.getAttribute("rel") === "stylesheet") &&
u.namespaceURI !== "http://www.w3.org/2000/svg") {
var c = u.getAttribute(e) || "";
c = t + c;
var r = a.get(c);
r ? r.push(u) : a.set(c, [u])
}
}
return a
}
function lh(t, e, l) {
t = t.ownerDocument || t,
t.head.insertBefore(l, e === "title" ? t.querySelector("head > title") : null)
}
function K0(t, e, l) {
if (l === 1 || e.itemProp != null)
return !1;
switch (t) {
case "meta":
case "title":
return !0;
case "style":
if (typeof e.precedence != "string" || typeof e.href != "string" || e.href === "")
break;
return !0;
case "link":
if (typeof e.rel != "string" || typeof e.href != "string" || e.href === "" || e.onLoad || e.onError)
break;
switch (e.rel) {
case "stylesheet":
return t = e.disabled,
typeof e.precedence == "string" && t == null;
default:
return !0
}
case "script":
if (e.async && typeof e.async != "function" && typeof e.async != "symbol" && !e.onLoad
&& !e.onError && e.src && typeof e.src == "string")
return !0
}
return !1
}
function ah(t) {
return !(t.type === "stylesheet" && (t.state.loading & 3) === 0)
}
var Un = null;
function J0() {}
function $0(t, e, l) {
if (Un === null)
throw Error(o(475));
var a = Un;
if (e.type === "stylesheet" && (typeof l.media != "string" || matchMedia(l.media).matches
!== !1) && (e.state.loading & 4) === 0) {
if (e.instance === null) {
var n = Na(l.href)
, u = t.querySelector(_n(n));
if (u) {
t = u._p,
t !== null && typeof t == "object" && typeof t.then == "function" && (a.count++,
a = Ku.bind(a),
t.then(a, a)),
e.state.loading |= 4,
e.instance = u,
jt(u);
return
}
u = t.ownerDocument || t,
l = Pd(l),
(n = Me.get(n)) && _o(l, n),
u = u.createElement("link"),
jt(u);
var c = u;
c._p = new Promise(function(r, d) {
c.onload = r,
c.onerror = d
}
),
Kt(u, "link", l),
e.instance = u
}
a.stylesheets === null && (a.stylesheets = new Map),
a.stylesheets.set(e, t),
(t = e.state.preload) && (e.state.loading & 3) === 0 && (a.count++,
e = Ku.bind(a),
t.addEventListener("load", e),
t.addEventListener("error", e))
}
}
function W0() {
if (Un === null)
throw Error(o(475));
var t = Un;
return t.stylesheets && t.count === 0 && Uo(t, t.stylesheets),
0 < t.count ? function(e) {
var l = setTimeout(function() {
if (t.stylesheets && Uo(t, t.stylesheets),
t.unsuspend) {
var a = t.unsuspend;
t.unsuspend = null,
a()
}
}, 6e4);
return t.unsuspend = e,
function() {
t.unsuspend = null,
clearTimeout(l)
}
}
: null
}
function Ku() {
if (this.count--,
this.count === 0) {
if (this.stylesheets)
Uo(this, this.stylesheets);
else if (this.unsuspend) {
var t = this.unsuspend;
this.unsuspend = null,
t()
}
}
}
var Ju = null;
function Uo(t, e) {
t.stylesheets = null,
t.unsuspend !== null && (t.count++,
Ju = new Map,
e.forEach(F0, t),
Ju = null,
Ku.call(t))
}
function F0(t, e) {
if (!(e.state.loading & 4)) {
var l = Ju.get(t);
if (l)
var a = l.get(null);
else {
l = new Map,
Ju.set(t, l);
for (var n = t.querySelectorAll("link[data-precedence],style[data-precedence]"), u = 0; u <
n.length; u++) {
var c = n[u];
(c.nodeName === "LINK" || c.getAttribute("media") !== "not all") &&
(l.set(c.dataset.precedence, c),
a = c)
}
a && l.set(null, a)
}
n = e.instance,
c = n.getAttribute("data-precedence"),
u = l.get(c) || a,
u === a && l.set(null, n),
l.set(c, n),
this.count++,
a = Ku.bind(this),
n.addEventListener("load", a),
n.addEventListener("error", a),
u ? u.parentNode.insertBefore(n, u.nextSibling) : (t = t.nodeType === 9 ? t.head : t,
t.insertBefore(n, t.firstChild)),
e.state.loading |= 4
}
}
var Nn = {
$$typeof: nt,
Provider: null,
Consumer: null,
_currentValue: U,
_currentValue2: U,
_threadCount: 0
};
function I0(t, e, l, a, n, u, c, r) {
this.tag = 1,
this.containerInfo = t,
this.pingCache = this.current = this.pendingChildren = null,
this.timeoutHandle = -1,
this.callbackNode = this.next = this.pendingContext = this.context =
this.cancelPendingCommit = null,
this.callbackPriority = 0,
this.expirationTimes = Ri(-1),
this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes =
this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes =
this.pendingLanes = 0,
this.entanglements = Ri(0),
this.hiddenUpdates = Ri(null),
this.identifierPrefix = a,
this.onUncaughtError = n,
this.onCaughtError = u,
this.onRecoverableError = c,
this.pooledCache = null,
this.pooledCacheLanes = 0,
this.formState = r,
this.incompleteTransitions = new Map
}
function nh(t, e, l, a, n, u, c, r, d, E, R, C) {
return t = new I0(t,e,l,c,r,d,E,C),
e = 1,
u === !0 && (e |= 24),
u = se(3, null, null, e),
t.current = u,
u.stateNode = t,
e = hc(),
e.refCount++,
t.pooledCache = e,
e.refCount++,
u.memoizedState = {
element: a,
isDehydrated: l,
cache: e
},
pc(u),
t
}
function uh(t) {
return t ? (t = da,
t) : da
}
function ih(t, e, l, a, n, u) {
n = uh(n),
a.context === null ? a.context = n : a.pendingContext = n,
a = rl(e),
a.payload = {
element: l
},
u = u === void 0 ? null : u,
u !== null && (a.callback = u),
l = fl(t, a, e),
l !== null && (ye(l, t, e),
fn(l, t, e))
}
function ch(t, e) {
if (t = t.memoizedState,
t !== null && t.dehydrated !== null) {
var l = t.retryLane;
t.retryLane = l !== 0 && l < e ? l : e
}
}
function No(t, e) {
ch(t, e),
(t = t.alternate) && ch(t, e)
}
function oh(t) {
if (t.tag === 13) {
var e = sa(t, 67108864);
e !== null && ye(e, t, 67108864),
No(t, 67108864)
}
}
var $u = !0;
function P0(t, e, l, a) {
var n = z.T;
z.T = null;
var u = H.p;
try {
H.p = 2,
Ho(t, e, l, a)
} finally {
H.p = u,
z.T = n
}
}
function ty(t, e, l, a) {
var n = z.T;
z.T = null;
var u = H.p;
try {
H.p = 8,
Ho(t, e, l, a)
} finally {
H.p = u,
z.T = n
}
}
function Ho(t, e, l, a) {
if ($u) {
var n = Bo(a);
if (n === null)
xo(t, e, a, Wu, l),
fh(t, a);
else if (ly(n, t, e, l, a))
a.stopPropagation();
else if (fh(t, a),
e & 4 && -1 < ey.indexOf(t)) {
for (; n !== null; ) {
var u = Pl(n);
if (u !== null)
switch (u.tag) {
case 3:
if (u = u.stateNode,
u.current.memoizedState.isDehydrated) {
var c = Dl(u.pendingLanes);
if (c !== 0) {
var r = u;
for (r.pendingLanes |= 2,
r.entangledLanes |= 2; c; ) {
var d = 1 << 31 - re(c);
r.entanglements[1] |= d,
c &= ~d
}
qe(u),
(St & 6) === 0 && (Uu = Ue() + 500,
Mn(0))
}
}
break;
case 13:
r = sa(u, 2),
r !== null && ye(r, u, 2),
Hu(),
No(u, 2)
}
if (u = Bo(a),
u === null && xo(t, e, a, Wu, l),
u === n)
break;
n = u
}
n !== null && a.stopPropagation()
} else
xo(t, e, a, null, l)
}
}
function Bo(t) {
return t = Gi(t),
ko(t)
}
var Wu = null;
function ko(t) {
if (Wu = null,
t = Il(t),
t !== null) {
var e = y(t);
if (e === null)
t = null;
else {
var l = e.tag;
if (l === 13) {
if (t = p(e),
t !== null)
return t;
t = null
} else if (l === 3) {
if (e.stateNode.current.memoizedState.isDehydrated)
return e.tag === 3 ? e.stateNode.containerInfo : null;
t = null
} else
e !== t && (t = null)
}
}
return Wu = t,
null
}
function rh(t) {
switch (t) {
case "beforetoggle":
case "cancel":
case "click":
case "close":
case "contextmenu":
case "copy":
case "cut":
case "auxclick":
case "dblclick":
case "dragend":
case "dragstart":
case "drop":
case "focusin":
case "focusout":
case "input":
case "invalid":
case "keydown":
case "keypress":
case "keyup":
case "mousedown":
case "mouseup":
case "paste":
case "pause":
case "play":
case "pointercancel":
case "pointerdown":
case "pointerup":
case "ratechange":
case "reset":
case "resize":
case "seeked":
case "submit":
case "toggle":
case "touchcancel":
case "touchend":
case "touchstart":
case "volumechange":
case "change":
case "selectionchange":
case "textInput":
case "compositionstart":
case "compositionend":
case "compositionupdate":
case "beforeblur":
case "afterblur":
case "beforeinput":
case "blur":
case "fullscreenchange":
case "focus":
case "hashchange":
case "popstate":
case "select":
case "selectstart":
return 2;
case "drag":
case "dragenter":
case "dragexit":
case "dragleave":
case "dragover":
case "mousemove":
case "mouseout":
case "mouseover":
case "pointermove":
case "pointerout":
case "pointerover":
case "scroll":
case "touchmove":
case "wheel":
case "mouseenter":
case "mouseleave":
case "pointerenter":
case "pointerleave":
return 8;
case "message":
switch (Gm()) {
case xr:
return 2;
case Er:
return 8;
case Ln:
case jm:
return 32;
case Tr:
return 268435456;
default:
return 32
}
default:
return 32
}
}
var qo = !1
, El = null
, Tl = null
, Al = null
, Hn = new Map
, Bn = new Map
, zl = []
, ey = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel
pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown
keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");
function fh(t, e) {
switch (t) {
case "focusin":
case "focusout":
El = null;
break;
case "dragenter":
case "dragleave":
Tl = null;
break;
case "mouseover":
case "mouseout":
Al = null;
break;
case "pointerover":
case "pointerout":
Hn.delete(e.pointerId);
break;
case "gotpointercapture":
case "lostpointercapture":
Bn.delete(e.pointerId)
}
}
function kn(t, e, l, a, n, u) {
return t === null || t.nativeEvent !== u ? (t = {
blockedOn: e,
domEventName: l,
eventSystemFlags: a,
nativeEvent: u,
targetContainers: [n]
},
e !== null && (e = Pl(e),
e !== null && oh(e)),
t) : (t.eventSystemFlags |= a,
e = t.targetContainers,
n !== null && e.indexOf(n) === -1 && e.push(n),
t)
}
function ly(t, e, l, a, n) {
switch (e) {
case "focusin":
return El = kn(El, t, e, l, a, n),
!0;
case "dragenter":
return Tl = kn(Tl, t, e, l, a, n),
!0;
case "mouseover":
return Al = kn(Al, t, e, l, a, n),
!0;
case "pointerover":
var u = n.pointerId;
return Hn.set(u, kn(Hn.get(u) || null, t, e, l, a, n)),
!0;
case "gotpointercapture":
return u = n.pointerId,
Bn.set(u, kn(Bn.get(u) || null, t, e, l, a, n)),
!0
}
return !1
}
function sh(t) {
var e = Il(t.target);
if (e !== null) {
var l = y(e);
if (l !== null) {
if (e = l.tag,
e === 13) {
if (e = p(l),
e !== null) {
t.blockedOn = e,
$m(t.priority, function() {
if (l.tag === 13) {
var a = ge();
a = Di(a);
var n = sa(l, a);
n !== null && ye(n, l, a),
No(l, a)
}
});
return
}
} else if (e === 3 && l.stateNode.current.memoizedState.isDehydrated) {
t.blockedOn = l.tag === 3 ? l.stateNode.containerInfo : null;
return
}
}
}
t.blockedOn = null
}
function Fu(t) {
if (t.blockedOn !== null)
return !1;
for (var e = t.targetContainers; 0 < e.length; ) {
var l = Bo(t.nativeEvent);
if (l === null) {
l = t.nativeEvent;
var a = new l.constructor(l.type,l);
Yi = a,
l.target.dispatchEvent(a),
Yi = null
} else
return e = Pl(l),
e !== null && oh(e),
t.blockedOn = l,
!1;
e.shift()
}
return !0
}
function dh(t, e, l) {
Fu(t) && l.delete(e)
}
function ay() {
qo = !1,
El !== null && Fu(El) && (El = null),
Tl !== null && Fu(Tl) && (Tl = null),
Al !== null && Fu(Al) && (Al = null),
Hn.forEach(dh),
Bn.forEach(dh)
}
function Iu(t, e) {
t.blockedOn === e && (t.blockedOn = null,
qo || (qo = !0,
i.unstable_scheduleCallback(i.unstable_NormalPriority, ay)))
}
var Pu = null;
function hh(t) {
Pu !== t && (Pu = t,
i.unstable_scheduleCallback(i.unstable_NormalPriority, function() {
Pu === t && (Pu = null);
for (var e = 0; e < t.length; e += 3) {
var l = t[e]
, a = t[e + 1]
, n = t[e + 2];
if (typeof a != "function") {
if (ko(a || l) === null)
continue;
break
}
var u = Pl(l);
u !== null && (t.splice(e, 3),
e -= 3,
Bc(u, {
pending: !0,
data: n,
method: l.method,
action: a
}, a, n))
}
}))
}
function qn(t) {
function e(d) {
return Iu(d, t)
}
El !== null && Iu(El, t),
Tl !== null && Iu(Tl, t),
Al !== null && Iu(Al, t),
Hn.forEach(e),
Bn.forEach(e);
for (var l = 0; l < zl.length; l++) {
var a = zl[l];
a.blockedOn === t && (a.blockedOn = null)
}
for (; 0 < zl.length && (l = zl[0],
l.blockedOn === null); )
sh(l),
l.blockedOn === null && zl.shift();
if (l = (t.ownerDocument || t).$$reactFormReplay,
l != null)
for (a = 0; a < l.length; a += 3) {
var n = l[a]
, u = l[a + 1]
, c = n[ae] || null;
if (typeof u == "function")
c || hh(l);
else if (c) {
var r = null;
if (u && u.hasAttribute("formAction")) {
if (n = u,
c = u[ae] || null)
r = c.formAction;
else if (ko(n) !== null)
continue
} else
r = c.action;
typeof r == "function" ? l[a + 1] = r : (l.splice(a, 3),
a -= 3),
hh(l)
}
}
}
function Yo(t) {
this._internalRoot = t
}
ti.prototype.render = Yo.prototype.render = function(t) {
var e = this._internalRoot;
if (e === null)
throw Error(o(409));
var l = e.current
, a = ge();
ih(l, a, t, e, null, null)
}
,
ti.prototype.unmount = Yo.prototype.unmount = function() {
var t = this._internalRoot;
if (t !== null) {
this._internalRoot = null;
var e = t.containerInfo;
ih(t.current, 2, null, t, null, null),
Hu(),
e[Fl] = null
}
}
;
function ti(t) {
this._internalRoot = t
}
ti.prototype.unstable_scheduleHydration = function(t) {
if (t) {
var e = Dr();
t = {
blockedOn: null,
target: t,
priority: e
};
for (var l = 0; l < zl.length && e !== 0 && e < zl[l].priority; l++)
;
zl.splice(l, 0, t),
l === 0 && sh(t)
}
}
;
var mh = f.version;
if (mh !== "19.1.1")
throw Error(o(527, mh, "19.1.1"));
H.findDOMNode = function(t) {
var e = t._reactInternals;
if (e === void 0)
throw typeof t.render == "function" ? Error(o(188)) : (t = Object.keys(t).join(","),
Error(o(268, t)));
return t = g(e),
t = t !== null ? b(t) : null,
t = t === null ? null : t.stateNode,
t
}
;
var ny = {
bundleType: 0,
version: "19.1.1",
rendererPackageName: "react-dom",
currentDispatcherRef: z,
reconcilerVersion: "19.1.1"
};
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
var ei = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (!ei.isDisabled && ei.supportsFiber)
try {
ja = ei.inject(ny),
oe = ei
} catch {}
}
return ka.createRoot = function(t, e) {
if (!h(t))
throw Error(o(299));
var l = !1
, a = ""
, n = Os
, u = _s
, c = Cs
, r = null;
return e != null && (e.unstable_strictMode === !0 && (l = !0),
e.identifierPrefix !== void 0 && (a = e.identifierPrefix),
e.onUncaughtError !== void 0 && (n = e.onUncaughtError),
e.onCaughtError !== void 0 && (u = e.onCaughtError),
e.onRecoverableError !== void 0 && (c = e.onRecoverableError),
e.unstable_transitionCallbacks !== void 0 && (r = e.unstable_transitionCallbacks)),
e = nh(t, 1, !1, null, null, l, a, n, u, c, r, null),
t[Fl] = e.current,
wo(t),
new Yo(e)
}
,
ka.hydrateRoot = function(t, e, l) {
if (!h(t))
throw Error(o(299));
var a = !1
, n = ""
, u = Os
, c = _s
, r = Cs
, d = null
, E = null;
return l != null && (l.unstable_strictMode === !0 && (a = !0),
l.identifierPrefix !== void 0 && (n = l.identifierPrefix),
l.onUncaughtError !== void 0 && (u = l.onUncaughtError),
l.onCaughtError !== void 0 && (c = l.onCaughtError),
l.onRecoverableError !== void 0 && (r = l.onRecoverableError),
l.unstable_transitionCallbacks !== void 0 && (d = l.unstable_transitionCallbacks),
l.formState !== void 0 && (E = l.formState)),
e = nh(t, 1, !0, e, l ?? null, a, n, u, c, r, d, E),
e.context = uh(null),
l = e.current,
a = ge(),
a = Di(a),
n = rl(a),
n.callback = null,
fl(l, n, a),
l = a,
e.current.lanes = l,
Xa(e, l),
qe(e),
t[Fl] = e.current,
wo(t),
new ti(e)
}
,
ka.version = "19.1.1",
ka
}
var $o;
function Eh() {
if ($o)
return ai.exports;
$o = 1;
function i() {
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"))
try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)
} catch (f) {
console.error(f)
}
}
return i(),
ai.exports = xh(),
ai.exports
}
var Wo = Eh();
const ri = {
root: "manus-previewer-root",
contentRoot: "manus-previewer-content-root"
};
class Th {
dialogRoot = null;
setDialogRoot(f) {
this.dialogRoot = f
}
createOpener = (f,s)=>{
const {singleton: o, closeWhenNextTrigger: h, closeBeforeDialog: y} = s || {};
let p = [];
const S = b=>{
const M = "single";
if (o) {
const Y = p.find(K=>K.id === M);
if (Y)
if (y)
Y.onDisposed();
else
return h && Y.onDisposed(),
null
}
const _ = document.createElement("div")
, q = Wo.createRoot(_);
this.dialogRoot && this.dialogRoot.append(_);
const G = ()=>{
q.unmount(),
_.remove(),
p = p.filter(Y=>Y.id !== M),
b.onDisposed?.()
}
;
return p.push({
id: M,
onDisposed: G
}),
q.render(Ce.jsx(f, {
"data-loc": "src/helpers/dialogController.tsx:69",
...b,
onDisposed: G
})),
{
dispose: G
}
}
;
return b=>S({
...b
})
}
}
const Fo = new Th;
function Ah() {
return Ce.jsx("div", {
"data-loc": "src/ContentRoot.tsx:6",
id: ri.contentRoot,
className: "z-[999999] relative",
ref: i=>{
i && Fo.setDialogRoot(i)
}
})
}
class zh {
iframeElement = null;
currentEndpoint = null;
messageQueue = [];
inited = !1;
sendMessage(f) {
if (f.to !== this.currentEndpoint) {
if (f.to === "content") {
if (!this.iframeElement?.contentWindow)
return;
this.iframeElement.contentWindow.postMessage(this.packMessage(f), "*")
}
f.to === "container" && window.parent.postMessage(this.packMessage(f), "*")
}
}
listenMessage(f) {
return this.messageQueue.push({
type: f.type,
callback: f.callback
}),
()=>{
this.messageQueue = this.messageQueue.filter(s=>s.callback !== f.callback)
}
}
updateIframeElement(f) {
this.iframeElement = f
}
init(f) {
this.inited || (this.inited = !0,
this.currentEndpoint = f.currentEndpoint,
console.log("inited"),
window.addEventListener("message", s=>{
console.log("window get message", s);
const o = s.data;
o.type === "SpacePreviewerChannel" && this.messageQueue.forEach(h=>{
h.type === o.payload.type && o.payload.to === this.currentEndpoint &&
h.callback(o.payload.payload)
}
)
}
))
}
packMessage(f) {
return {
type: "SpacePreviewerChannel",
payload: {
...f,
from: this.currentEndpoint
}
}
}
}
const qa = new zh;
var pe = ci();
function Io(i) {
var f, s, o = "";
if (typeof i == "string" || typeof i == "number")
o += i;
else if (typeof i == "object")
if (Array.isArray(i)) {
var h = i.length;
for (f = 0; f < h; f++)
i[f] && (s = Io(i[f])) && (o && (o += " "),
o += s)
} else
for (s in i)
i[s] && (o && (o += " "),
o += s);
return o
}
function Mh() {
for (var i, f, s = 0, o = "", h = arguments.length; s < h; s++)
(i = arguments[s]) && (f = Io(i)) && (o && (o += " "),
o += f);
return o
}
const fi = "-"
, Rh = i=>{
const f = Oh(i)
, {conflictingClassGroups: s, conflictingClassGroupModifiers: o} = i;
return {
getClassGroupId: p=>{
const S = p.split(fi);
return S[0] === "" && S.length !== 1 && S.shift(),
Po(S, f) || Dh(p)
}
,
getConflictingClassGroupIds: (p,S)=>{
const g = s[p] || [];
return S && o[p] ? [...g, ...o[p]] : g
}
}
}
, Po = (i,f)=>{
if (i.length === 0)
return f.classGroupId;
const s = i[0]
, o = f.nextPart.get(s)
, h = o ? Po(i.slice(1), o) : void 0;
if (h)
return h;
if (f.validators.length === 0)
return;
const y = i.join(fi);
return f.validators.find(({validator: p})=>p(y))?.classGroupId
}
, tr = /^\[(.+)\]$/
, Dh = i=>{
if (tr.test(i)) {
const f = tr.exec(i)[1]
, s = f?.substring(0, f.indexOf(":"));
if (s)
return "arbitrary.." + s
}
}
, Oh = i=>{
const {theme: f, classGroups: s} = i
, o = {
nextPart: new Map,
validators: []
};
for (const h in s)
si(s[h], o, h, f);
return o
}
, si = (i,f,s,o)=>{
i.forEach(h=>{
if (typeof h == "string") {
const y = h === "" ? f : er(f, h);
y.classGroupId = s;
return
}
if (typeof h == "function") {
if (_h(h)) {
si(h(o), f, s, o);
return
}
f.validators.push({
validator: h,
classGroupId: s
});
return
}
Object.entries(h).forEach(([y,p])=>{
si(p, er(f, y), s, o)
}
)
}
)
}
, er = (i,f)=>{
let s = i;
return f.split(fi).forEach(o=>{
s.nextPart.has(o) || s.nextPart.set(o, {
nextPart: new Map,
validators: []
}),
s = s.nextPart.get(o)
}
),
s
}
, _h = i=>i.isThemeGetter
, Ch = i=>{
if (i < 1)
return {
get: ()=>{}
,
set: ()=>{}
};
let f = 0
, s = new Map
, o = new Map;
const h = (y,p)=>{
s.set(y, p),
f++,
f > i && (f = 0,
o = s,
s = new Map)
}
;
return {
get(y) {
let p = s.get(y);
if (p !== void 0)
return p;
if ((p = o.get(y)) !== void 0)
return h(y, p),
p
},
set(y, p) {
s.has(y) ? s.set(y, p) : h(y, p)
}
}
}
, di = "!"
, hi = ":"
, Uh = hi.length
, Nh = i=>{
const {prefix: f, experimentalParseClassName: s} = i;
let o = h=>{
const y = [];
let p = 0, S = 0, g = 0, b;
for (let Y = 0; Y < h.length; Y++) {
let K = h[Y];
if (p === 0 && S === 0) {
if (K === hi) {
y.push(h.slice(g, Y)),
g = Y + Uh;
continue
}
if (K === "/") {
b = Y;
continue
}
}
K === "[" ? p++ : K === "]" ? p-- : K === "(" ? S++ : K === ")" && S--
}
const M = y.length === 0 ? h : h.substring(g)
, _ = Hh(M)
, q = _ !== M
, G = b && b > g ? b - g : void 0;
return {
modifiers: y,
hasImportantModifier: q,
baseClassName: _,
maybePostfixModifierPosition: G
}
}
;
if (f) {
const h = f + hi
, y = o;
o = p=>p.startsWith(h) ? y(p.substring(h.length)) : {
isExternal: !0,
modifiers: [],
hasImportantModifier: !1,
baseClassName: p,
maybePostfixModifierPosition: void 0
}
}
if (s) {
const h = o;
o = y=>s({
className: y,
parseClassName: h
})
}
return o
}
, Hh = i=>i.endsWith(di) ? i.substring(0, i.length - 1) : i.startsWith(di) ? i.substring(1) : i
, Bh = i=>{
const f = Object.fromEntries(i.orderSensitiveModifiers.map(o=>[o, !0]));
return o=>{
if (o.length <= 1)
return o;
const h = [];
let y = [];
return o.forEach(p=>{
p[0] === "[" || f[p] ? (h.push(...y.sort(), p),
y = []) : y.push(p)
}
),
h.push(...y.sort()),
h
}
}
, kh = i=>({
cache: Ch(i.cacheSize),
parseClassName: Nh(i),
sortModifiers: Bh(i),
...Rh(i)
})
, qh = /\s+/
, Yh = (i,f)=>{
const {parseClassName: s, getClassGroupId: o, getConflictingClassGroupIds: h,
sortModifiers: y} = f
, p = []
, S = i.trim().split(qh);
let g = "";
for (let b = S.length - 1; b >= 0; b -= 1) {
const M = S[b]
, {isExternal: _, modifiers: q, hasImportantModifier: G, baseClassName: Y,
maybePostfixModifierPosition: K} = s(M);
if (_) {
g = M + (g.length > 0 ? " " + g : g);
continue
}
let V = !!K
, $ = o(V ? Y.substring(0, K) : Y);
if (!$) {
if (!V) {
g = M + (g.length > 0 ? " " + g : g);
continue
}
if ($ = o(Y),
!$) {
g = M + (g.length > 0 ? " " + g : g);
continue
}
V = !1
}
const gt = y(q).join(":")
, nt = G ? gt + di : gt
, ht = nt + $;
if (p.includes(ht))
continue;
p.push(ht);
const W = h($, V);
for (let P = 0; P < W.length; ++P) {
const zt = W[P];
p.push(nt + zt)
}
g = M + (g.length > 0 ? " " + g : g)
}
return g
}
;
function Gh() {
let i = 0, f, s, o = "";
for (; i < arguments.length; )
(f = arguments[i++]) && (s = lr(f)) && (o && (o += " "),
o += s);
return o
}
const lr = i=>{
if (typeof i == "string")
return i;
let f, s = "";
for (let o = 0; o < i.length; o++)
i[o] && (f = lr(i[o])) && (s && (s += " "),
s += f);
return s
}
;
function jh(i, ...f) {
let s, o, h, y = p;
function p(g) {
const b = f.reduce((M,_)=>_(M), i());
return s = kh(b),
o = s.cache.get,
h = s.cache.set,
y = S,
S(g)
}
function S(g) {
const b = o(g);
if (b)
return b;
const M = Yh(g, s);
return h(g, M),
M
}
return function() {
return y(Gh.apply(null, arguments))
}
}
const kt = i=>{
const f = s=>s[i] || [];
return f.isThemeGetter = !0,
f
}
, ar = /^\[(?:(\w[\w-]*):)?(.+)\]$/i
, nr = /^\((?:(\w[\w-]*):)?(.+)\)$/i
, Lh = /^\d+\/\d+$/
, Xh = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/
, Qh =
/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b
(calc|min|max|clamp)\(.+\)|^0$/
, Vh = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/
, Zh = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/
, Kh = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-
gradient)\(.+\)$/
, Kl = i=>Lh.test(i)
, ut = i=>!!i && !Number.isNaN(Number(i))
, el = i=>!!i && Number.isInteger(Number(i))
, mi = i=>i.endsWith("%") && ut(i.slice(0, -1))
, Ye = i=>Xh.test(i)
, Jh = ()=>!0
, $h = i=>Qh.test(i) && !Vh.test(i)
, ur = ()=>!1
, Wh = i=>Zh.test(i)
, Fh = i=>Kh.test(i)
, Ih = i=>!L(i) && !X(i)
, Ph = i=>Jl(i, fr, ur)
, L = i=>ar.test(i)
, Rl = i=>Jl(i, sr, $h)
, gi = i=>Jl(i, nm, ut)
, ir = i=>Jl(i, or, ur)
, tm = i=>Jl(i, rr, Fh)
, Yn = i=>Jl(i, dr, Wh)
, X = i=>nr.test(i)
, Ya = i=>$l(i, sr)
, em = i=>$l(i, um)
, cr = i=>$l(i, or)
, lm = i=>$l(i, fr)
, am = i=>$l(i, rr)
, Gn = i=>$l(i, dr, !0)
, Jl = (i,f,s)=>{
const o = ar.exec(i);
return o ? o[1] ? f(o[1]) : s(o[2]) : !1
}
, $l = (i,f,s=!1)=>{
const o = nr.exec(i);
return o ? o[1] ? f(o[1]) : s : !1
}
, or = i=>i === "position" || i === "percentage"
, rr = i=>i === "image" || i === "url"
, fr = i=>i === "length" || i === "size" || i === "bg-size"
, sr = i=>i === "length"
, nm = i=>i === "number"
, um = i=>i === "family-name"
, dr = i=>i === "shadow"
, im = jh(()=>{
const i = kt("color")
, f = kt("font")
, s = kt("text")
, o = kt("font-weight")
, h = kt("tracking")
, y = kt("leading")
, p = kt("breakpoint")
, S = kt("container")
, g = kt("spacing")
, b = kt("radius")
, M = kt("shadow")
, _ = kt("inset-shadow")
, q = kt("text-shadow")
, G = kt("drop-shadow")
, Y = kt("blur")
, K = kt("perspective")
, V = kt("aspect")
, $ = kt("ease")
, gt = kt("animate")
, nt = ()=>["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"]
, ht = ()=>["center", "top", "bottom", "left", "right", "top-left", "left-top", "top-right", "right-
top", "bottom-right", "right-bottom", "bottom-left", "left-bottom"]
, W = ()=>[...ht(), X, L]
, P = ()=>["auto", "hidden", "clip", "visible", "scroll"]
, zt = ()=>["auto", "contain", "none"]
, Z = ()=>[X, L, g]
, Mt = ()=>[Kl, "full", "auto", ...Z()]
, ee = ()=>[el, "none", "subgrid", X, L]
, $t = ()=>["auto", {
span: ["full", el, X, L]
}, el, X, L]
, bt = ()=>[el, "auto", X, L]
, It = ()=>["auto", "min", "max", "fr", X, L]
, le = ()=>["start", "end", "center", "between", "around", "evenly", "stretch", "baseline",
"center-safe", "end-safe"]
, ct = ()=>["start", "end", "center", "stretch", "center-safe", "end-safe"]
, z = ()=>["auto", ...Z()]
, H = ()=>[Kl, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit",
...Z()]
, U = ()=>[i, X, L]
, yt = ()=>[...ht(), cr, ir, {
position: [X, L]
}]
, m = ()=>["no-repeat", {
repeat: ["", "x", "y", "space", "round"]
}]
, O = ()=>["auto", "cover", "contain", lm, Ph, {
size: [X, L]
}]
, k = ()=>[mi, Ya, Rl]
, N = ()=>["", "none", "full", b, X, L]
, j = ()=>["", ut, Ya, Rl]
, lt = ()=>["solid", "dashed", "dotted", "double"]
, tt = ()=>["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge",
"color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color",
"luminosity"]
, rt = ()=>[ut, mi, cr, ir]
, vt = ()=>["", "none", Y, X, L]
, Pt = ()=>["none", ut, X, L]
, Re = ()=>["none", ut, X, L]
, be = ()=>[ut, X, L]
, al = ()=>[Kl, "full", ...Z()];
return {
cacheSize: 500,
theme: {
animate: ["spin", "ping", "pulse", "bounce"],
aspect: ["video"],
blur: [Ye],
breakpoint: [Ye],
color: [Jh],
container: [Ye],
"drop-shadow": [Ye],
ease: ["in", "out", "in-out"],
font: [Ih],
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold",
"extrabold", "black"],
"inset-shadow": [Ye],
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
radius: [Ye],
shadow: [Ye],
spacing: ["px", ut],
text: [Ye],
"text-shadow": [Ye],
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
},
classGroups: {
aspect: [{
aspect: ["auto", "square", Kl, L, X, V]
}],
container: ["container"],
columns: [{
columns: [ut, L, X, S]
}],
"break-after": [{
"break-after": nt()
}],
"break-before": [{
"break-before": nt()
}],
"break-inside": [{
"break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
}],
"box-decoration": [{
"box-decoration": ["slice", "clone"]
}],
box: [{
box: ["border", "content"]
}],
display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-
caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-
header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents",
"list-item", "hidden"],
sr: ["sr-only", "not-sr-only"],
float: [{
float: ["right", "left", "none", "start", "end"]
}],
clear: [{
clear: ["left", "right", "both", "none", "start", "end"]
}],
isolation: ["isolate", "isolation-auto"],
"object-fit": [{
object: ["contain", "cover", "fill", "none", "scale-down"]
}],
"object-position": [{
object: W()
}],
overflow: [{
overflow: P()
}],
"overflow-x": [{
"overflow-x": P()
}],
"overflow-y": [{
"overflow-y": P()
}],
overscroll: [{
overscroll: zt()
}],
"overscroll-x": [{
"overscroll-x": zt()
}],
"overscroll-y": [{
"overscroll-y": zt()
}],
position: ["static", "fixed", "absolute", "relative", "sticky"],
inset: [{
inset: Mt()
}],
"inset-x": [{
"inset-x": Mt()
}],
"inset-y": [{
"inset-y": Mt()
}],
start: [{
start: Mt()
}],
end: [{
end: Mt()
}],
top: [{
top: Mt()
}],
right: [{
right: Mt()
}],
bottom: [{
bottom: Mt()
}],
left: [{
left: Mt()
}],
visibility: ["visible", "invisible", "collapse"],
z: [{
z: [el, "auto", X, L]
}],
basis: [{
basis: [Kl, "full", "auto", S, ...Z()]
}],
"flex-direction": [{
flex: ["row", "row-reverse", "col", "col-reverse"]
}],
"flex-wrap": [{
flex: ["nowrap", "wrap", "wrap-reverse"]
}],
flex: [{
flex: [ut, Kl, "auto", "initial", "none", L]
}],
grow: [{
grow: ["", ut, X, L]
}],
shrink: [{
shrink: ["", ut, X, L]
}],
order: [{
order: [el, "first", "last", "none", X, L]
}],
"grid-cols": [{
"grid-cols": ee()
}],
"col-start-end": [{
col: $t()
}],
"col-start": [{
"col-start": bt()
}],
"col-end": [{
"col-end": bt()
}],
"grid-rows": [{
"grid-rows": ee()
}],
"row-start-end": [{
row: $t()
}],
"row-start": [{
"row-start": bt()
}],
"row-end": [{
"row-end": bt()
}],
"grid-flow": [{
"grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
}],
"auto-cols": [{
"auto-cols": It()
}],
"auto-rows": [{
"auto-rows": It()
}],
gap: [{
gap: Z()
}],
"gap-x": [{
"gap-x": Z()
}],
"gap-y": [{
"gap-y": Z()
}],
"justify-content": [{
justify: [...le(), "normal"]
}],
"justify-items": [{
"justify-items": [...ct(), "normal"]
}],
"justify-self": [{
"justify-self": ["auto", ...ct()]
}],
"align-content": [{
content: ["normal", ...le()]
}],
"align-items": [{
items: [...ct(), {
baseline: ["", "last"]
}]
}],
"align-self": [{
self: ["auto", ...ct(), {
baseline: ["", "last"]
}]
}],
"place-content": [{
"place-content": le()
}],
"place-items": [{
"place-items": [...ct(), "baseline"]
}],
"place-self": [{
"place-self": ["auto", ...ct()]
}],
p: [{
p: Z()
}],
px: [{
px: Z()
}],
py: [{
py: Z()
}],
ps: [{
ps: Z()
}],
pe: [{
pe: Z()
}],
pt: [{
pt: Z()
}],
pr: [{
pr: Z()
}],
pb: [{
pb: Z()
}],
pl: [{
pl: Z()
}],
m: [{
m: z()
}],
mx: [{
mx: z()
}],
my: [{
my: z()
}],
ms: [{
ms: z()
}],
me: [{
me: z()
}],
mt: [{
mt: z()
}],
mr: [{
mr: z()
}],
mb: [{
mb: z()
}],
ml: [{
ml: z()
}],
"space-x": [{
"space-x": Z()
}],
"space-x-reverse": ["space-x-reverse"],
"space-y": [{
"space-y": Z()
}],
"space-y-reverse": ["space-y-reverse"],
size: [{
size: H()
}],
w: [{
w: [S, "screen", ...H()]
}],
"min-w": [{
"min-w": [S, "screen", "none", ...H()]
}],
"max-w": [{
"max-w": [S, "screen", "none", "prose", {
screen: [p]
}, ...H()]
}],
h: [{
h: ["screen", "lh", ...H()]
}],
"min-h": [{
"min-h": ["screen", "lh", "none", ...H()]
}],
"max-h": [{
"max-h": ["screen", "lh", ...H()]
}],
"font-size": [{
text: ["base", s, Ya, Rl]
}],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{
font: [o, X, gi]
}],
"font-stretch": [{
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed",
"normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", mi, L]
}],
"font-family": [{
font: [em, L, f]
}],
"fvn-normal": ["normal-nums"],
"fvn-ordinal": ["ordinal"],
"fvn-slashed-zero": ["slashed-zero"],
"fvn-figure": ["lining-nums", "oldstyle-nums"],
"fvn-spacing": ["proportional-nums", "tabular-nums"],
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
tracking: [{
tracking: [h, X, L]
}],
"line-clamp": [{
"line-clamp": [ut, "none", X, gi]
}],
leading: [{
leading: [y, ...Z()]
}],
"list-image": [{
"list-image": ["none", X, L]
}],
"list-style-position": [{
list: ["inside", "outside"]
}],
"list-style-type": [{
list: ["disc", "decimal", "none", X, L]
}],
"text-alignment": [{
text: ["left", "center", "right", "justify", "start", "end"]
}],
"placeholder-color": [{
placeholder: U()
}],
"text-color": [{
text: U()
}],
"text-decoration": ["underline", "overline", "line-through", "no-underline"],
"text-decoration-style": [{
decoration: [...lt(), "wavy"]
}],
"text-decoration-thickness": [{
decoration: [ut, "from-font", "auto", X, Rl]
}],
"text-decoration-color": [{
decoration: U()
}],
"underline-offset": [{
"underline-offset": [ut, "auto", X, L]
}],
"text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
"text-overflow": ["truncate", "text-ellipsis", "text-clip"],
"text-wrap": [{
text: ["wrap", "nowrap", "balance", "pretty"]
}],
indent: [{
indent: Z()
}],
"vertical-align": [{
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", X, L]
}],
whitespace: [{
whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
}],
break: [{
break: ["normal", "words", "all", "keep"]
}],
wrap: [{
wrap: ["break-word", "anywhere", "normal"]
}],
hyphens: [{
hyphens: ["none", "manual", "auto"]
}],
content: [{
content: ["none", X, L]
}],
"bg-attachment": [{
bg: ["fixed", "local", "scroll"]
}],
"bg-clip": [{
"bg-clip": ["border", "padding", "content", "text"]
}],
"bg-origin": [{
"bg-origin": ["border", "padding", "content"]
}],
"bg-position": [{
bg: yt()
}],
"bg-repeat": [{
bg: m()
}],
"bg-size": [{
bg: O()
}],
"bg-image": [{
bg: ["none", {
linear: [{
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
}, el, X, L],
radial: ["", X, L],
conic: [el, X, L]
}, am, tm]
}],
"bg-color": [{
bg: U()
}],
"gradient-from-pos": [{
from: k()
}],
"gradient-via-pos": [{
via: k()
}],
"gradient-to-pos": [{
to: k()
}],
"gradient-from": [{
from: U()
}],
"gradient-via": [{
via: U()
}],
"gradient-to": [{
to: U()
}],
rounded: [{
rounded: N()
}],
"rounded-s": [{
"rounded-s": N()
}],
"rounded-e": [{
"rounded-e": N()
}],
"rounded-t": [{
"rounded-t": N()
}],
"rounded-r": [{
"rounded-r": N()
}],
"rounded-b": [{
"rounded-b": N()
}],
"rounded-l": [{
"rounded-l": N()
}],
"rounded-ss": [{
"rounded-ss": N()
}],
"rounded-se": [{
"rounded-se": N()
}],
"rounded-ee": [{
"rounded-ee": N()
}],
"rounded-es": [{
"rounded-es": N()
}],
"rounded-tl": [{
"rounded-tl": N()
}],
"rounded-tr": [{
"rounded-tr": N()
}],
"rounded-br": [{
"rounded-br": N()
}],
"rounded-bl": [{
"rounded-bl": N()
}],
"border-w": [{
border: j()
}],
"border-w-x": [{
"border-x": j()
}],
"border-w-y": [{
"border-y": j()
}],
"border-w-s": [{
"border-s": j()
}],
"border-w-e": [{
"border-e": j()
}],
"border-w-t": [{
"border-t": j()
}],
"border-w-r": [{
"border-r": j()
}],
"border-w-b": [{
"border-b": j()
}],
"border-w-l": [{
"border-l": j()
}],
"divide-x": [{
"divide-x": j()
}],
"divide-x-reverse": ["divide-x-reverse"],
"divide-y": [{
"divide-y": j()
}],
"divide-y-reverse": ["divide-y-reverse"],
"border-style": [{
border: [...lt(), "hidden", "none"]
}],
"divide-style": [{
divide: [...lt(), "hidden", "none"]
}],
"border-color": [{
border: U()
}],
"border-color-x": [{
"border-x": U()
}],
"border-color-y": [{
"border-y": U()
}],
"border-color-s": [{
"border-s": U()
}],
"border-color-e": [{
"border-e": U()
}],
"border-color-t": [{
"border-t": U()
}],
"border-color-r": [{
"border-r": U()
}],
"border-color-b": [{
"border-b": U()
}],
"border-color-l": [{
"border-l": U()
}],
"divide-color": [{
divide: U()
}],
"outline-style": [{
outline: [...lt(), "none", "hidden"]
}],
"outline-offset": [{
"outline-offset": [ut, X, L]
}],
"outline-w": [{
outline: ["", ut, Ya, Rl]
}],
"outline-color": [{
outline: U()
}],
shadow: [{
shadow: ["", "none", M, Gn, Yn]
}],
"shadow-color": [{
shadow: U()
}],
"inset-shadow": [{
"inset-shadow": ["none", _, Gn, Yn]
}],
"inset-shadow-color": [{
"inset-shadow": U()
}],
"ring-w": [{
ring: j()
}],
"ring-w-inset": ["ring-inset"],
"ring-color": [{
ring: U()
}],
"ring-offset-w": [{
"ring-offset": [ut, Rl]
}],
"ring-offset-color": [{
"ring-offset": U()
}],
"inset-ring-w": [{
"inset-ring": j()
}],
"inset-ring-color": [{
"inset-ring": U()
}],
"text-shadow": [{
"text-shadow": ["none", q, Gn, Yn]
}],
"text-shadow-color": [{
"text-shadow": U()
}],
opacity: [{
opacity: [ut, X, L]
}],
"mix-blend": [{
"mix-blend": [...tt(), "plus-darker", "plus-lighter"]
}],
"bg-blend": [{
"bg-blend": tt()
}],
"mask-clip": [{
"mask-clip": ["border", "padding", "content", "fill", "stroke", "view"]
}, "mask-no-clip"],
"mask-composite": [{
mask: ["add", "subtract", "intersect", "exclude"]
}],
"mask-image-linear-pos": [{
"mask-linear": [ut]
}],
"mask-image-linear-from-pos": [{
"mask-linear-from": rt()
}],
"mask-image-linear-to-pos": [{
"mask-linear-to": rt()
}],
"mask-image-linear-from-color": [{
"mask-linear-from": U()
}],
"mask-image-linear-to-color": [{
"mask-linear-to": U()
}],
"mask-image-t-from-pos": [{
"mask-t-from": rt()
}],
"mask-image-t-to-pos": [{
"mask-t-to": rt()
}],
"mask-image-t-from-color": [{
"mask-t-from": U()
}],
"mask-image-t-to-color": [{
"mask-t-to": U()
}],
"mask-image-r-from-pos": [{
"mask-r-from": rt()
}],
"mask-image-r-to-pos": [{
"mask-r-to": rt()
}],
"mask-image-r-from-color": [{
"mask-r-from": U()
}],
"mask-image-r-to-color": [{
"mask-r-to": U()
}],
"mask-image-b-from-pos": [{
"mask-b-from": rt()
}],
"mask-image-b-to-pos": [{
"mask-b-to": rt()
}],
"mask-image-b-from-color": [{
"mask-b-from": U()
}],
"mask-image-b-to-color": [{
"mask-b-to": U()
}],
"mask-image-l-from-pos": [{
"mask-l-from": rt()
}],
"mask-image-l-to-pos": [{
"mask-l-to": rt()
}],
"mask-image-l-from-color": [{
"mask-l-from": U()
}],
"mask-image-l-to-color": [{
"mask-l-to": U()
}],
"mask-image-x-from-pos": [{
"mask-x-from": rt()
}],
"mask-image-x-to-pos": [{
"mask-x-to": rt()
}],
"mask-image-x-from-color": [{
"mask-x-from": U()
}],
"mask-image-x-to-color": [{
"mask-x-to": U()
}],
"mask-image-y-from-pos": [{
"mask-y-from": rt()
}],
"mask-image-y-to-pos": [{
"mask-y-to": rt()
}],
"mask-image-y-from-color": [{
"mask-y-from": U()
}],
"mask-image-y-to-color": [{
"mask-y-to": U()
}],
"mask-image-radial": [{
"mask-radial": [X, L]
}],
"mask-image-radial-from-pos": [{
"mask-radial-from": rt()
}],
"mask-image-radial-to-pos": [{
"mask-radial-to": rt()
}],
"mask-image-radial-from-color": [{
"mask-radial-from": U()
}],
"mask-image-radial-to-color": [{
"mask-radial-to": U()
}],
"mask-image-radial-shape": [{
"mask-radial": ["circle", "ellipse"]
}],
"mask-image-radial-size": [{
"mask-radial": [{
closest: ["side", "corner"],
farthest: ["side", "corner"]
}]
}],
"mask-image-radial-pos": [{
"mask-radial-at": ht()
}],
"mask-image-conic-pos": [{
"mask-conic": [ut]
}],
"mask-image-conic-from-pos": [{
"mask-conic-from": rt()
}],
"mask-image-conic-to-pos": [{
"mask-conic-to": rt()
}],
"mask-image-conic-from-color": [{
"mask-conic-from": U()
}],
"mask-image-conic-to-color": [{
"mask-conic-to": U()
}],
"mask-mode": [{
mask: ["alpha", "luminance", "match"]
}],
"mask-origin": [{
"mask-origin": ["border", "padding", "content", "fill", "stroke", "view"]
}],
"mask-position": [{
mask: yt()
}],
"mask-repeat": [{
mask: m()
}],
"mask-size": [{
mask: O()
}],
"mask-type": [{
"mask-type": ["alpha", "luminance"]
}],
"mask-image": [{
mask: ["none", X, L]
}],
filter: [{
filter: ["", "none", X, L]
}],
blur: [{
blur: vt()
}],
brightness: [{
brightness: [ut, X, L]
}],
contrast: [{
contrast: [ut, X, L]
}],
"drop-shadow": [{
"drop-shadow": ["", "none", G, Gn, Yn]
}],
"drop-shadow-color": [{
"drop-shadow": U()
}],
grayscale: [{
grayscale: ["", ut, X, L]
}],
"hue-rotate": [{
"hue-rotate": [ut, X, L]
}],
invert: [{
invert: ["", ut, X, L]
}],
saturate: [{
saturate: [ut, X, L]
}],
sepia: [{
sepia: ["", ut, X, L]
}],
"backdrop-filter": [{
"backdrop-filter": ["", "none", X, L]
}],
"backdrop-blur": [{
"backdrop-blur": vt()
}],
"backdrop-brightness": [{
"backdrop-brightness": [ut, X, L]
}],
"backdrop-contrast": [{
"backdrop-contrast": [ut, X, L]
}],
"backdrop-grayscale": [{
"backdrop-grayscale": ["", ut, X, L]
}],
"backdrop-hue-rotate": [{
"backdrop-hue-rotate": [ut, X, L]
}],
"backdrop-invert": [{
"backdrop-invert": ["", ut, X, L]
}],
"backdrop-opacity": [{
"backdrop-opacity": [ut, X, L]
}],
"backdrop-saturate": [{
"backdrop-saturate": [ut, X, L]
}],
"backdrop-sepia": [{
"backdrop-sepia": ["", ut, X, L]
}],
"border-collapse": [{
border: ["collapse", "separate"]
}],
"border-spacing": [{
"border-spacing": Z()
}],
"border-spacing-x": [{
"border-spacing-x": Z()
}],
"border-spacing-y": [{
"border-spacing-y": Z()
}],
"table-layout": [{
table: ["auto", "fixed"]
}],
caption: [{
caption: ["top", "bottom"]
}],
transition: [{
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", X, L]
}],
"transition-behavior": [{
transition: ["normal", "discrete"]
}],
duration: [{
duration: [ut, "initial", X, L]
}],
ease: [{
ease: ["linear", "initial", $, X, L]
}],
delay: [{
delay: [ut, X, L]
}],
animate: [{
animate: ["none", gt, X, L]
}],
backface: [{
backface: ["hidden", "visible"]
}],
perspective: [{
perspective: [K, X, L]
}],
"perspective-origin": [{
"perspective-origin": W()
}],
rotate: [{
rotate: Pt()
}],
"rotate-x": [{
"rotate-x": Pt()
}],
"rotate-y": [{
"rotate-y": Pt()
}],
"rotate-z": [{
"rotate-z": Pt()
}],
scale: [{
scale: Re()
}],
"scale-x": [{
"scale-x": Re()
}],
"scale-y": [{
"scale-y": Re()
}],
"scale-z": [{
"scale-z": Re()
}],
"scale-3d": ["scale-3d"],
skew: [{
skew: be()
}],
"skew-x": [{
"skew-x": be()
}],
"skew-y": [{
"skew-y": be()
}],
transform: [{
transform: [X, L, "", "none", "gpu", "cpu"]
}],
"transform-origin": [{
origin: W()
}],
"transform-style": [{
transform: ["3d", "flat"]
}],
translate: [{
translate: al()
}],
"translate-x": [{
"translate-x": al()
}],
"translate-y": [{
"translate-y": al()
}],
"translate-z": [{
"translate-z": al()
}],
"translate-none": ["translate-none"],
accent: [{
accent: U()
}],
appearance: [{
appearance: ["none", "auto"]
}],
"caret-color": [{
caret: U()
}],
"color-scheme": [{
scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
}],
cursor: [{
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none",
"context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop",
"grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize",
"w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-
resize", "nwse-resize", "zoom-in", "zoom-out", X, L]
}],
"field-sizing": [{
"field-sizing": ["fixed", "content"]
}],
"pointer-events": [{
"pointer-events": ["auto", "none"]
}],
resize: [{
resize: ["none", "", "y", "x"]
}],
"scroll-behavior": [{
scroll: ["auto", "smooth"]
}],
"scroll-m": [{
"scroll-m": Z()
}],
"scroll-mx": [{
"scroll-mx": Z()
}],
"scroll-my": [{
"scroll-my": Z()
}],
"scroll-ms": [{
"scroll-ms": Z()
}],
"scroll-me": [{
"scroll-me": Z()
}],
"scroll-mt": [{
"scroll-mt": Z()
}],
"scroll-mr": [{
"scroll-mr": Z()
}],
"scroll-mb": [{
"scroll-mb": Z()
}],
"scroll-ml": [{
"scroll-ml": Z()
}],
"scroll-p": [{
"scroll-p": Z()
}],
"scroll-px": [{
"scroll-px": Z()
}],
"scroll-py": [{
"scroll-py": Z()
}],
"scroll-ps": [{
"scroll-ps": Z()
}],
"scroll-pe": [{
"scroll-pe": Z()
}],
"scroll-pt": [{
"scroll-pt": Z()
}],
"scroll-pr": [{
"scroll-pr": Z()
}],
"scroll-pb": [{
"scroll-pb": Z()
}],
"scroll-pl": [{
"scroll-pl": Z()
}],
"snap-align": [{
snap: ["start", "end", "center", "align-none"]
}],
"snap-stop": [{
snap: ["normal", "always"]
}],
"snap-type": [{
snap: ["none", "x", "y", "both"]
}],
"snap-strictness": [{
snap: ["mandatory", "proximity"]
}],
touch: [{
touch: ["auto", "none", "manipulation"]
}],
"touch-x": [{
"touch-pan": ["x", "left", "right"]
}],
"touch-y": [{
"touch-pan": ["y", "up", "down"]
}],
"touch-pz": ["touch-pinch-zoom"],
select: [{
select: ["none", "text", "all", "auto"]
}],
"will-change": [{
"will-change": ["auto", "scroll", "contents", "transform", X, L]
}],
fill: [{
fill: ["none", ...U()]
}],
"stroke-w": [{
stroke: [ut, Ya, Rl, gi]
}],
stroke: [{
stroke: ["none", ...U()]
}],
"forced-color-adjust": [{
"forced-color-adjust": ["auto", "none"]
}]
},
conflictingClassGroups: {
overflow: ["overflow-x", "overflow-y"],
overscroll: ["overscroll-x", "overscroll-y"],
inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
"inset-x": ["right", "left"],
"inset-y": ["top", "bottom"],
flex: ["basis", "grow", "shrink"],
gap: ["gap-x", "gap-y"],
p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
px: ["pr", "pl"],
py: ["pt", "pb"],
m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
mx: ["mr", "ml"],
my: ["mt", "mb"],
size: ["w", "h"],
"font-size": ["leading"],
"fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
"fvn-ordinal": ["fvn-normal"],
"fvn-slashed-zero": ["fvn-normal"],
"fvn-figure": ["fvn-normal"],
"fvn-spacing": ["fvn-normal"],
"fvn-fraction": ["fvn-normal"],
"line-clamp": ["display", "overflow"],
rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l",
"rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr",
"rounded-br", "rounded-bl"],
"rounded-s": ["rounded-ss", "rounded-es"],
"rounded-e": ["rounded-se", "rounded-ee"],
"rounded-t": ["rounded-tl", "rounded-tr"],
"rounded-r": ["rounded-tr", "rounded-br"],
"rounded-b": ["rounded-br", "rounded-bl"],
"rounded-l": ["rounded-tl", "rounded-bl"],
"border-spacing": ["border-spacing-x", "border-spacing-y"],
"border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-
w-r", "border-w-b", "border-w-l"],
"border-w-x": ["border-w-r", "border-w-l"],
"border-w-y": ["border-w-t", "border-w-b"],
"border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e",
"border-color-t", "border-color-r", "border-color-b", "border-color-l"],
"border-color-x": ["border-color-r", "border-color-l"],
"border-color-y": ["border-color-t", "border-color-b"],
translate: ["translate-x", "translate-y", "translate-none"],
"translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr",
"scroll-mb", "scroll-ml"],
"scroll-mx": ["scroll-mr", "scroll-ml"],
"scroll-my": ["scroll-mt", "scroll-mb"],
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-
pb", "scroll-pl"],
"scroll-px": ["scroll-pr", "scroll-pl"],
"scroll-py": ["scroll-pt", "scroll-pb"],
touch: ["touch-x", "touch-y", "touch-pz"],
"touch-x": ["touch"],
"touch-y": ["touch"],
"touch-pz": ["touch"]
},
conflictingClassGroupModifiers: {
"font-size": ["leading"]
},
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file",
"first-letter", "first-line", "marker", "placeholder", "selection"]
}
}
);
class cm {
cn(...f) {
return im(Mh(f))
}
}
const yi = new cm;
function Wl(i) {
const f = pe.useRef(i);
f.current = i;
const s = pe.useRef(null);
return s.current || (s.current = function(...o) {
return f.current.apply(this, o)
}
),
s.current
}
function om(i={}) {
const {onKeyDown: f, onCompositionStart: s, onCompositionEnd: o} = i
, h = pe.useRef(!1)
, y = pe.useRef(null)
, p = pe.useRef(null)
, S = Wl(_=>{
y.current && (clearTimeout(y.current),
y.current = null),
p.current && (clearTimeout(p.current),
p.current = null),
h.current = !0,
s?.(_)
}
)
, g = Wl(_=>{
y.current = setTimeout(()=>{
p.current = setTimeout(()=>{
h.current = !1
}
)
}
),
o?.(_)
}
)
, b = Wl(_=>{
if (h.current && (_.key === "Escape" || _.key === "Enter" && !_.shiftKey)) {
_.stopPropagation();
return
}
f?.(_)
}
)
, M = Wl(()=>h.current);
return {
onCompositionStart: S,
onCompositionEnd: g,
onKeyDown: b,
isComposing: M
}
}
function rm() {
return Ce.jsx("svg", {
"data-loc": "src/icons/SendIcon.tsx:3",
xmlns: "http://www.w3.org/2000/svg",
width: "16",
height: "16",
viewBox: "0 0 16 16",
children: Ce.jsx("path", {
"data-loc": "src/icons/SendIcon.tsx:9",
d: "M7.91699 15.064C7.53125 15.064 7.22119 14.9395 6.98682 14.6904C6.75244 14.4463
6.63525 14.1216 6.63525 13.7163V6.39941L6.77441 3.34521L7.48486 3.89453L5.62451
6.12109L3.99121 7.76172C3.87402 7.87891 3.73975 7.97656 3.58838 8.05469C3.44189
8.13281 3.271 8.17188 3.07568 8.17188C2.73389 8.17188 2.4458 8.05957 2.21143
7.83496C1.98193 7.60547 1.86719 7.31006 1.86719 6.94873C1.86719 6.60205 1.99902
6.29688 2.2627 6.0332L6.97949 1.30908C7.0918 1.19189 7.2334 1.10156 7.4043
1.03809C7.5752 0.969727 7.74609 0.935547 7.91699 0.935547C8.08789 0.935547 8.25879
0.969727 8.42969 1.03809C8.60059 1.10156 8.74463 1.19189 8.86182 1.30908L13.5786
6.0332C13.8423 6.29688 13.9741 6.60205 13.9741 6.94873C13.9741 7.31006 13.8569
7.60547 13.6226 7.83496C13.3931 8.05957 13.1074 8.17188 12.7656 8.17188C12.5703
8.17188 12.397 8.13281 12.2456 8.05469C12.0991 7.97656 11.9673 7.87891 11.8501
7.76172L10.2095 6.12109L8.34912 3.89453L9.05957 3.34521L9.19141
6.39941V13.7163C9.19141 14.1216 9.07422 14.4463 8.83984 14.6904C8.60547 14.9395
8.29785 15.064 7.91699 15.064Z",
fill: "currentColor"
})
})
}
var B = {
image: new Map,
background: new Map,
resource: new Map,
defaultStyle: new Map,
baseStyle: new Map,
computedStyle: new WeakMap,
font: new Set,
snapshot: new WeakMap,
snapshotKey: new Map,
preStyleMap: new Map,
preStyle: new WeakMap,
preNodeMap: new Map,
reset: fm
};
function fm() {
B.computedStyle = new WeakMap,
B.snapshot = new WeakMap,
B.snapshotKey.clear(),
B.preStyleMap.clear(),
B.preStyle = new WeakMap,
B.preNodeMap.clear()
}
function sm(i) {
if (B.defaultStyle.has(i))
return B.defaultStyle.get(i);
if (new Set(["script", "style", "meta", "link", "noscript", "template"]).has(i)) {
const p = {};
return B.defaultStyle.set(i, p),
p
}
let s = document.getElementById("snapdom-sandbox");
s || (s = document.createElement("div"),
s.id = "snapdom-sandbox",
s.style.position = "absolute",
s.style.left = "-9999px",
s.style.top = "-9999px",
s.style.width = "0",
s.style.height = "0",
s.style.overflow = "hidden",
document.body.appendChild(s));
const o = document.createElement(i);
o.style.all = "initial",
s.appendChild(o);
const h = getComputedStyle(o)
, y = {};
for (let p of h)
y[p] = h.getPropertyValue(p);
return s.removeChild(o),
B.defaultStyle.set(i, y),
y
}
function pi(i, f, s=!1) {
const o = []
, h = sm(f);
for (let[y,p] of Object.entries(i))
if (!s)
p && o.push(`${y}:${p}`);
else {
const S = h[y];
p && p !== S && o.push(`${y}:${p}`)
}
return o.sort().join(";")
}
function dm(i) {
const f = new Set;
return i.nodeType !== Node.ELEMENT_NODE && i.nodeType !==
Node.DOCUMENT_FRAGMENT_NODE ? [] : (i.tagName &&
f.add(i.tagName.toLowerCase()),
typeof i.querySelectorAll == "function" &&
i.querySelectorAll("*").forEach(s=>f.add(s.tagName.toLowerCase())),
Array.from(f))
}
function hm(i) {
const f = new Map;
for (let o of i) {
const h = B.defaultStyle.get(o);
if (!h)
continue;
const y = Object.entries(h).map(([p,S])=>`${p}:${S};`).sort().join("");
f.has(y) || f.set(y, []),
f.get(y).push(o)
}
let s = "";
for (let[o,h] of f.entries())
s += `${h.join(",")} { ${o} }
`;
return s
}
function mm() {
const i = new Set(B.preStyleMap.values())
, f = new Map;
let s = 1;
for (const o of i)
f.set(o, `c${s++}`);
return f
}
async function hr(i, f={}) {
const s = vi(i)
, o = /^((repeating-)?(linear|radial|conic)-gradient)\(/i.test(i);
if (s) {
const h = wi(s);
if (B.background.has(h))
return f.skipInline ? void 0 : `url(${B.background.get(h)})`;
{
const y = await Si(h, {
useProxy: f.useProxy
});
return B.background.set(h, y),
f.skipInline ? void 0 : `url("${y}")`
}
}
return i
}
function Ga(i, {fast: f=!1}={}) {
if (f)
return i();
"requestIdleCallback"in window ? requestIdleCallback(i, {
timeout: 50
}) : setTimeout(i, 1)
}
function bi(i, f=null) {
if (!(i instanceof Element))
return window.getComputedStyle(i, f);
let s = B.computedStyle.get(i);
if (s || (s = new Map,
B.computedStyle.set(i, s)),
!s.has(f)) {
const o = window.getComputedStyle(i, f);
s.set(f, o)
}
return s.get(f)
}
function gm(i) {
let f = i.replace(/^['"]|['"]$/g, "");
if (f.startsWith("\\"))
try {
return String.fromCharCode(parseInt(f.replace("\\", ""), 16))
} catch {
return f
}
return f
}
function vi(i) {
const f = i.match(/url\((['"]?)(.*?)(\1)\)/);
if (!f)
return null;
const s = f[2].trim();
return s.startsWith("#") ? null : s
}
function Si(i, {timeout: f=3e3, useProxy: s=""}={}) {
function o(g) {
try {
return new URL(g,window.location.href).origin === window.location.origin ? "use-
credentials" : "anonymous"
} catch {
return "anonymous"
}
}
async function h(g) {
const b = M=>fetch(M, {
mode: "cors",
credentials: o(M) === "use-credentials" ? "include" : "omit"
}).then(_=>_.blob()).then(_=>new Promise((q,G)=>{
const Y = new FileReader;
Y.onloadend = ()=>{
const K = Y.result;
if (typeof K != "string" || !K.startsWith("data:image/")) {
G(new Error("Invalid image data URL"));
return
}
q(K)
}
,
Y.onerror = ()=>G(new Error("FileReader error")),
Y.readAsDataURL(_)
}
));
try {
return await b(g)
} catch {
if (s && typeof s == "string") {
const _ = s.replace(/\/$/, "") + wi(g);
try {
return await b(_)
} catch {
throw new Error("[SnapDOM - fetchImage] CORS restrictions prevented image capture (even
via proxy)")
}
} else
throw new Error("[SnapDOM - fetchImage] Fetch fallback failed and no proxy provided")
}
}
const y = o(i);
return B.image.has(i) ? Promise.resolve(B.image.get(i)) : i.startsWith("data:image/") ?
(B.image.set(i, i),
Promise.resolve(i)) : /\.svg(\?.*)?$/i.test(i) ? (async()=>{
try {
const b = await (await fetch(i, {
mode: "cors",
credentials: y === "use-credentials" ? "include" : "omit"
})).text()
, M = `data:image/svg+xml;charset=utf-8,${encodeURIComponent(b)}`;
return B.image.set(i, M),
M
} catch {
return h(i)
}
}
)() : new Promise((g,b)=>{
const M = setTimeout(()=>{
b(new Error("[SnapDOM - fetchImage] Image load timed out"))
}
, f)
, _ = new Image;
_.crossOrigin = y,
_.onload = async()=>{
clearTimeout(M);
try {
await _.decode();
const q = document.createElement("canvas");
q.width = _.width,
q.height = _.height,
q.getContext("2d").drawImage(_, 0, 0, q.width, q.height);
const Y = q.toDataURL("image/png");
B.image.set(i, Y),
g(Y)
} catch {
try {
const q = await h(i);
B.image.set(i, q),
g(q)
} catch (q) {
b(q)
}
}
}
,
_.onerror = async()=>{
clearTimeout(M),
console.error(`[SnapDOM - fetchImage] Image failed to load: ${i}`);
try {
const q = await h(i);
B.image.set(i, q),
g(q)
} catch (q) {
b(q)
}
}
,
_.src = i
}
)
}
function mr(i) {
const f = {};
for (let s of i)
f[s] = i.getPropertyValue(s);
return f
}
function ym() {
return /^((?!chrome|android).)*safari/i.test(navigator.userAgent)
}
function pm(i) {
if (!i || i === "none")
return "";
let f = i.replace(/translate[XY]?\([^)]*\)/g, "");
return f = f.replace(/matrix\(([^)]+)\)/g, (s,o)=>{
const h = o.split(",").map(y=>y.trim());
return h.length !== 6 ? `matrix(${o})` : (h[4] = "0",
h[5] = "0",
`matrix(${h.join(", ")})`)
}
),
f = f.replace(/matrix3d\(([^)]+)\)/g, (s,o)=>{
const h = o.split(",").map(y=>y.trim());
return h.length !== 16 ? `matrix3d(${o})` : (h[12] = "0",
h[13] = "0",
`matrix3d(${h.join(", ")})`)
}
),
f.trim().replace(/\s{2,}/g, " ")
}
function wi(i) {
if (/%[0-9A-Fa-f]{2}/.test(i))
return i;
try {
return encodeURI(i)
} catch {
return i
}
}
function gr(i) {
const f = [];
let s = 0
, o = 0;
for (let h = 0; h < i.length; h++) {
const y = i[h];
y === "(" && s++,
y === ")" && s--,
y === "," && s === 0 && (f.push(i.slice(o, h).trim()),
o = h + 1)
}
return f.push(i.slice(o).trim()),
f
}
function bm(i) {
const f = {};
for (let s = 0; s < i.length; s++) {
const o = i[s];
let h = i.getPropertyValue(o);
(o === "background-image" || o === "content") && h.includes("url(") &&
!h.includes("data:") && (h = "none"),
f[o] = h
}
return f
}
function xi(i, f, s) {
if (i.tagName === "STYLE")
return;
B.preStyle.has(i) || B.preStyle.set(i, bi(i));
const o = B.preStyle.get(i);
if (!B.snapshot.has(i)) {
const g = bm(o);
B.snapshot.set(i, g)
}
const h = B.snapshot.get(i)
, y =
Object.entries(h).sort(([g],[b])=>g.localeCompare(b)).map(([g,b])=>`${g}:${b}`).join(";");
if (B.snapshotKey.has(y)) {
B.preStyleMap.set(f, B.snapshotKey.get(y));
return
}
const p = i.tagName?.toLowerCase() || "div"
, S = pi(h, p, s);
B.snapshotKey.set(y, S),
B.preStyleMap.set(f, S)
}
function jn(i, f, s={}, o) {
if (!i)
throw new Error("Invalid node");
const h = new Set;
let y = null;
if (i.nodeType === Node.TEXT_NODE || i.nodeType !== Node.ELEMENT_NODE)
return i.cloneNode(!0);
if (i.getAttribute("data-capture") === "exclude") {
const S = document.createElement("div")
, g = i.getBoundingClientRect();
return S.style.cssText = `display:inline-
block;width:${g.width}px;height:${g.height}px;visibility:hidden;`,
S
}
if (s.exclude && Array.isArray(s.exclude))
for (const S of s.exclude)
try {
if (i.matches?.(S)) {
const g = document.createElement("div")
, b = i.getBoundingClientRect();
return g.style.cssText = `display:inline-
block;width:${b.width}px;height:${b.height}px;visibility:hidden;`,
g
}
} catch (g) {
console.warn(`Invalid selector in exclude option: ${S}`, g)
}
if (typeof s.filter == "function")
try {
if (!s.filter(i, o || i)) {
const S = document.createElement("div")
, g = i.getBoundingClientRect();
return S.style.cssText = `display:inline-
block;width:${g.width}px;height:${g.height}px;visibility:hidden;`,
S
}
} catch (S) {
console.warn("Error in filter function:", S)
}
if (i.tagName === "IFRAME") {
const S = document.createElement("div");
return S.style.cssText = `width:${i.offsetWidth}px;height:${i.offsetHeight}px;background-
image:repeating-linear-gradient(45deg,#ddd,#ddd 5px,#f9f9f9 5px,#f9f9f9
10px);display:flex;align-items:center;justify-content:center;font-
size:12px;color:#555;border:1px solid #aaa;`,
S
}
if (i.getAttribute("data-capture") === "placeholder") {
const S = i.cloneNode(!1);
B.preNodeMap.set(S, i),
xi(i, S, f);
const g = document.createElement("div");
return g.textContent = i.getAttribute("data-placeholder-text") || "",
g.style.cssText = "color:#666;font-size:12px;text-align:center;line-
height:1.4;padding:0.5em;box-sizing:border-box;",
S.appendChild(g),
S
}
if (i.tagName === "CANVAS") {
const S = i.toDataURL()
, g = document.createElement("img");
return g.src = S,
g.width = i.width,
g.height = i.height,
B.preNodeMap.set(g, i),
xi(i, g, f),
g
}
let p;
try {
p = i.cloneNode(!1),
B.preNodeMap.set(p, i)
} catch (S) {
throw console.error("[Snapdom] Failed to clone node:", i, S),
S
}
if (i instanceof HTMLTextAreaElement) {
p.textContent = i.value,
p.value = i.value;
const S = i.getBoundingClientRect();
return p.style.width = `${S.width}px`,
p.style.height = `${S.height}px`,
p
}
if (i instanceof HTMLInputElement && (p.value = i.value,
p.setAttribute("value", i.value),
i.checked !== void 0 && (p.checked = i.checked,
i.checked && p.setAttribute("checked", ""),
i.indeterminate && (p.indeterminate = i.indeterminate))),
i instanceof HTMLSelectElement && (y = i.value),
xi(i, p, f),
i.shadowRoot)
if (Array.from(i.shadowRoot.querySelectorAll("slot")).length > 0) {
for (const g of i.shadowRoot.childNodes)
if (g.nodeType === Node.ELEMENT_NODE && g.tagName === "STYLE") {
const b = g.textContent || "";
b.trim() && f && (B.preStyle || (B.preStyle = new WeakMap),
B.preStyle.set(g, b))
}
} else {
const g = document.createDocumentFragment();
for (const b of i.shadowRoot.childNodes) {
if (b.nodeType === Node.ELEMENT_NODE && b.tagName === "STYLE") {
const _ = b.textContent || "";
_.trim() && f && (B.preStyle || (B.preStyle = new WeakMap),
B.preStyle.set(b, _));
continue
}
const M = jn(b, f, s, o || i);
M && g.appendChild(M)
}
p.appendChild(g)
}
if (i.tagName === "SLOT") {
const S = i.assignedNodes?.({
flatten: !0
}) || []
, g = S.length > 0 ? S : Array.from(i.childNodes)
, b = document.createDocumentFragment();
for (const M of g) {
const _ = jn(M, f, s, o || i);
_ && b.appendChild(_)
}
return b
}
for (const S of i.childNodes) {
if (h.has(S))
continue;
const g = jn(S, f, s, o || i);
g && p.appendChild(g)
}
if (y !== null && p instanceof HTMLSelectElement) {
p.value = y;
for (const S of p.options)
S.value === y ? S.setAttribute("selected", "") : S.removeAttribute("selected")
}
return p
}
var vm = [/font\s*awesome/i, /material\s*icons/i, /ionicons/i, /glyphicons/i, /feather/i,
/bootstrap\s*icons/i, /remix\s*icons/i, /heroicons/i, /layui/i, /lucide/i]
, Ei = [];
function Sm(i) {
const f = Array.isArray(i) ? i : [i];
for (const s of f)
s instanceof RegExp ? Ei.push(s) : typeof s == "string" ? Ei.push(new RegExp(s,"i")) :
console.warn("[snapdom] Ignored invalid iconFont value:", s)
}
function ll(i) {
const f = typeof i == "string" ? i : ""
, s = [...vm, ...Ei];
for (const o of s)
if (o instanceof RegExp && o.test(f))
return !0;
return !!(/icon/i.test(f) || /glyph/i.test(f) || /symbols/i.test(f) || /feather/i.test(f) ||
/fontawesome/i.test(f))
}
async function wm(i, f, s, o=32, h="#000") {
f = f.replace(/^['"]+|['"]+$/g, "");
const y = window.devicePixelRatio || 1
, S = document.createElement("canvas").getContext("2d");
S.font = s ? `${s} ${o}px "${f}"` : `${o}px "${f}"`;
const g = S.measureText(i)
, b = g.actualBoundingBoxAscent || o * .8
, M = g.actualBoundingBoxDescent || o * .2
, _ = b + M
, q = g.width
, G = document.createElement("canvas");
G.width = Math.ceil(q * y),
G.height = Math.ceil(_ * y);
const Y = G.getContext("2d");
return Y.scale(y, y),
Y.font = S.font,
Y.textAlign = "left",
Y.textBaseline = "alphabetic",
Y.fillStyle = h,
Y.fillText(i, 0, b),
G.toDataURL()
}
function yr(i) {
return Array.from(document.styleSheets).some(f=>f.href === i)
}
function xm(i) {
return new Promise(f=>{
if (yr(i))
return f(null);
const s = document.createElement("link");
s.rel = "stylesheet",
s.href = i,
s.setAttribute("data-snapdom", "injected-import"),
s.onload = ()=>f(s),
s.onerror = ()=>f(null),
document.head.appendChild(s)
}
)
}
async function Em({preCached: i=!1}={}) {
if (B.resource.has("fonts-embed-css")) {
if (i) {
const y = document.createElement("style");
y.setAttribute("data-snapdom", "embedFonts"),
y.textContent = B.resource.get("fonts-embed-css"),
document.head.appendChild(y)
}
return B.resource.get("fonts-embed-css")
}
const f = /@import\s+url\(["']?([^"')]+)["']?\)/g
, s = [];
for (const y of document.querySelectorAll("style")) {
const p = y.textContent || ""
, S = Array.from(p.matchAll(f));
for (const g of S) {
const b = g[1];
ll(b) || yr(b) || s.push(b)
}
}
await Promise.all(s.map(xm));
const o = Array.from(document.querySelectorAll('link[rel="stylesheet"]')).filter(y=>y.href);
let h = "";
for (const y of o)
try {
const S = await (await fetch(y.href)).text();
if (ll(y.href) || ll(S))
continue;
const g = /url\((["']?)([^"')]+)\1\)/g
, b = await Promise.all(Array.from(S.matchAll(g)).map(async _=>{
let q = vi(_[0]);
if (!q)
return null;
let G = q;
if (!G.startsWith("http") && !G.startsWith("data:") && (G = new URL(G,y.href).href),
ll(G))
return null;
if (B.resource.has(G))
return B.font.add(G),
{
original: _[0],
inlined: `url(${B.resource.get(G)})`
};
if (B.font.has(G))
return null;
try {
const K = await (await fetch(G)).blob()
, V = await new Promise($=>{
const gt = new FileReader;
gt.onload = ()=>$(gt.result),
gt.readAsDataURL(K)
}
);
return B.resource.set(G, V),
B.font.add(G),
{
original: _[0],
inlined: `url(${V})`
}
} catch {
return console.warn("[snapdom] Failed to fetch font resource:", G),
null
}
}
));
let M = S;
for (const _ of b)
_ && (M = M.replace(_.original, _.inlined));
h += M + `
`
} catch {
console.warn("[snapdom] Failed to fetch CSS:", y.href)
}
for (const y of document.styleSheets)
try {
if (!y.href || o.every(p=>p.href !== y.href)) {
for (const p of y.cssRules)
if (p.type === CSSRule.FONT_FACE_RULE) {
const S = p.style.getPropertyValue("src")
, g = p.style.getPropertyValue("font-family");
if (!S || ll(g))
continue;
const b = /url\((["']?)([^"')]+)\1\)/g
, M = /local\((["']?)[^)]+?\1\)/g
, _ = !!S.match(b)
, q = !!S.match(M);
if (!_ && q) {
h += `@font-face{font-family:${g};src:${S};font-style:${p.style.getPropertyValue("font-
style") || "normal"};font-weight:${p.style.getPropertyValue("font-weight") || "normal"};}`;
continue
}
let G = S;
const Y = Array.from(S.matchAll(b));
for (const K of Y) {
let V = K[2].trim();
if (!V)
continue;
let $ = V;
if (!$.startsWith("http") && !$.startsWith("data:") && ($ = new URL($,y.href ||
location.href).href),
!ll($)) {
if (B.resource.has($)) {
B.font.add($),
G = G.replace(K[0], `url(${B.resource.get($)})`);
continue
}
if (!B.font.has($))
try {
const nt = await (await fetch($)).blob()
, ht = await new Promise(W=>{
const P = new FileReader;
P.onload = ()=>W(P.result),
P.readAsDataURL(nt)
}
);
B.resource.set($, ht),
B.font.add($),
G = G.replace(K[0], `url(${ht})`)
} catch {
console.warn("[snapdom] Failed to fetch font URL:", $)
}
}
}
h += `@font-face{font-family:${g};src:${G};font-style:${p.style.getPropertyValue("font-
style") || "normal"};font-weight:${p.style.getPropertyValue("font-weight") || "normal"};}`
}
}
} catch (p) {
console.warn("[snapdom] Cannot access stylesheet", y.href, p)
}
for (const y of document.fonts)
if (y.family && y.status === "loaded" && y._snapdomSrc) {
if (ll(y.family))
continue;
let p = y._snapdomSrc;
if (!p.startsWith("data:")) {
if (B.resource.has(y._snapdomSrc))
p = B.resource.get(y._snapdomSrc),
B.font.add(y._snapdomSrc);
else if (!B.font.has(y._snapdomSrc))
try {
const g = await (await fetch(y._snapdomSrc)).blob();
p = await new Promise(b=>{
const M = new FileReader;
M.onload = ()=>b(M.result),
M.readAsDataURL(g)
}
),
B.resource.set(y._snapdomSrc, p),
B.font.add(y._snapdomSrc)
} catch {
console.warn("[snapdom] Failed to fetch dynamic font src:", y._snapdomSrc);
continue
}
}
h += `@font-face{font-family:'${y.family}';src:url(${p});font-style:${y.style ||
"normal"};font-weight:${y.weight || "normal"};}`
}
if (h && (B.resource.set("fonts-embed-css", h),
i)) {
const y = document.createElement("style");
y.setAttribute("data-snapdom", "embedFonts"),
y.textContent = h,
document.head.appendChild(y)
}
return h
}
async function pr(i, f, s, o=!1, h) {
if (!(i instanceof Element) || !(f instanceof Element))
return;
for (const S of ["::before", "::after", "::first-letter"])
try {
const g = bi(i, S);
if (!g || typeof g[Symbol.iterator] != "function")
continue;
if (S === "::first-letter") {
const m = getComputedStyle(i);
if (!(g.color !== m.color || g.fontSize !== m.fontSize || g.fontWeight !== m.fontWeight))
continue;
const k = Array.from(f.childNodes).find(be=>be.nodeType === Node.TEXT_NODE &&
be.textContent && be.textContent.trim().length > 0);
if (!k)
continue;
const N = k.textContent
, lt = N.match(/^([^\p{L}\p{N}\s]*[\p{L}\p{N}](?:['’])?)/u)?.[0]
, tt = N.slice(lt?.length || 0);
if (!lt || /[\uD800-\uDFFF]/.test(lt))
continue;
const rt = document.createElement("span");
rt.textContent = lt,
rt.dataset.snapdomPseudo = "::first-letter";
const vt = mr(g)
, Pt = pi(vt, "span", s);
B.preStyleMap.set(rt, Pt);
const Re = document.createTextNode(tt);
f.replaceChild(Re, k),
f.insertBefore(rt, Re);
continue
}
const b = g.getPropertyValue("content")
, M = g.getPropertyValue("background-image")
, _ = g.getPropertyValue("background-color")
, q = g.getPropertyValue("font-family")
, G = parseInt(g.getPropertyValue("font-size")) || 32
, Y = parseInt(g.getPropertyValue("font-weight")) || !1
, K = g.getPropertyValue("color") || "#000"
, V = g.getPropertyValue("display")
, $ = parseFloat(g.getPropertyValue("width"))
, gt = parseFloat(g.getPropertyValue("height"))
, nt = g.getPropertyValue("border-style")
, ht = g.getPropertyValue("transform")
, W = ll(q);
let P;
/counter\s*\(|counters\s*\(/.test(b) ? P = "- " : P = gm(b);
const Z = b !== "none" && P !== ""
, Mt = M && M !== "none"
, ee = _ && _ !== "transparent" && _ !== "rgba(0, 0, 0, 0)"
, $t = V !== "inline" && ($ > 0 || gt > 0)
, bt = nt && nt !== "none"
, It = ht && ht !== "none";
if (!(Z || Mt || ee || $t || bt || It))
continue;
const ct = document.createElement("span");
ct.dataset.snapdomPseudo = S;
const z = mr(g)
, H = pi(z, "span", s);
if (B.preStyleMap.set(ct, H),
W && P.length === 1) {
const m = document.createElement("img");
m.src = await wm(P, q, Y, G, K),
m.style = `width:${G}px;height:auto;object-fit:contain;`,
ct.appendChild(m)
} else if (P.startsWith("url(")) {
const m = vi(P);
if (m && m.trim() !== "")
try {
const O = document.createElement("img")
, k = await Si(wi(m, {
useProxy: h
}));
O.src = k,
O.style = `width:${G}px;height:auto;object-fit:contain;`,
ct.appendChild(O)
} catch (O) {
console.error(`[snapdom] Error in pseudo ${S} for`, i, O)
}
} else
!W && Z && (ct.textContent = P);
if (Mt)
try {
const m = gr(M)
, O = await Promise.all(m.map(k=>hr(k)));
ct.style.backgroundImage = O.join(", ")
} catch (m) {
console.warn(`[snapdom] Failed to inline background-image for ${S}`, m)
}
if (ee && (ct.style.backgroundColor = _),
!(ct.childNodes.length > 0 || ct.textContent && ct.textContent.trim() !== "" || Mt || ee || $t || bt
|| It))
continue;
S === "::before" ? f.insertBefore(ct, f.firstChild) : f.appendChild(ct)
} catch (g) {
console.warn(`[snapdom] Failed to capture ${S} for`, i, g)
}
const y = Array.from(i.children)
, p = Array.from(f.children).filter(S=>!S.dataset.snapdomPseudo);
for (let S = 0; S < Math.min(y.length, p.length); S++)
await pr(y[S], p[S], s, o, h)
}
function Tm(i) {
if (!i)
return;
const f = document.querySelectorAll("svg > defs");
f.length && i.querySelectorAll("svg").forEach(s=>{
const o = s.querySelectorAll("use");
if (!o.length)
return;
const h = new Set;
if (o.forEach(p=>{
const S = p.getAttribute("xlink:href") || p.getAttribute("href");
S && S.startsWith("#") && h.add(S.slice(1))
}
),
!h.size)
return;
const y = document.createElementNS("http://www.w3.org/2000/svg", "defs");
for (const p of h)
for (const S of f) {
const g = S.querySelector(`#${CSS.escape(p)}`);
if (g) {
y.appendChild(g.cloneNode(!0));
break
}
}
y.childNodes.length && s.insertBefore(y, s.firstChild)
}
)
}
async function Am(i, f=!1, s=!1, o={}) {
let h, y = "";
try {
h = jn(i, f, o, i)
} catch (p) {
throw console.warn("deepClone failed:", p),
p
}
try {
await pr(i, h, f, s, o.useProxy)
} catch (p) {
console.warn("inlinePseudoElements failed:", p)
}
try {
Tm(h)
} catch (p) {
console.warn("inlineExternalDef failed:", p)
}
if (f) {
const p = mm();
y = Array.from(p.entries()).map(([S,g])=>`.${g}{${S}}`).join("");
for (const [S,g] of B.preStyleMap.entries()) {
if (S.tagName === "STYLE")
continue;
const b = p.get(g);
b && S.classList.add(b);
const M = S.style?.backgroundImage;
S.removeAttribute("style"),
M && M !== "none" && (S.style.backgroundImage = M)
}
} else
for (const [p,S] of B.preStyleMap.entries())
p.tagName !== "STYLE" && p.setAttribute("style", S.replace(/;/g, "; "));
for (const [p,S] of B.preNodeMap.entries()) {
const g = S.scrollLeft
, b = S.scrollTop;
if ((g || b) && p instanceof HTMLElement) {
p.style.overflow = "hidden",
p.style.scrollbarWidth = "none",
p.style.msOverflowStyle = "none";
const _ = document.createElement("div");
for (_.style.transform = `translate(${-g}px, ${-b}px)`,
_.style.willChange = "transform",
_.style.display = "inline-block",
_.style.width = "100%"; p.firstChild; )
_.appendChild(p.firstChild);
p.appendChild(_)
}
}
if (i === B.preNodeMap.get(h)) {
const p = B.preStyle.get(i) || window.getComputedStyle(i);
B.preStyle.set(i, p);
const S = pm(p.transform);
h.style.margin = "0",
h.style.position = "static",
h.style.top = "auto",
h.style.left = "auto",
h.style.right = "auto",
h.style.bottom = "auto",
h.style.zIndex = "auto",
h.style.float = "none",
h.style.clear = "none",
h.style.transform = S || ""
}
for (const [p,S] of B.preNodeMap.entries())
S.tagName === "PRE" && (p.style.marginTop = "0",
p.style.marginBlockStart = "0");
return {
clone: h,
classCSS: y
}
}
async function zm(i, f={}) {
const s = Array.from(i.querySelectorAll("img"))
, o = async h=>{
const y = h.src;
try {
const p = await Si(y, {
useProxy: f.useProxy
});
h.src = p,
h.width || (h.width = h.naturalWidth || 100),
h.height || (h.height = h.naturalHeight || 100)
} catch {
const p = document.createElement("div");
p.style = `width: ${h.width || 100}px; height: ${h.height || 100}px; background: #ccc; display:
inline-block; text-align: center; line-height: ${h.height || 100}px; color: #666; font-size:
12px;`,
p.innerText = "img",
h.replaceWith(p)
}
}
;
for (let h = 0; h < s.length; h += 4) {
const y = s.slice(h, h + 4).map(o);
await Promise.allSettled(y)
}
}
async function Mm(i, f, s={}) {
const o = [[i, f]]
, h = ["background-image", "mask", "mask-image", "-webkit-mask-image", "mask-source",
"mask-box-image-source", "mask-border-source", "-webkit-mask-box-image-source"];
for (; o.length; ) {
const [y,p] = o.shift()
, S = B.preStyle.get(y) || bi(y);
B.preStyle.has(y) || B.preStyle.set(y, S);
for (const _ of h) {
const q = S.getPropertyValue(_);
if (!q || q === "none")
continue;
const G = gr(q)
, Y = await Promise.all(G.map(K=>hr(K, s)));
Y.some(K=>K && K !== "none" && !/^url\(undefined/.test(K)) && p.style.setProperty(_,
Y.join(", "))
}
const g = S.getPropertyValue("background-color");
g && g !== "transparent" && g !== "rgba(0, 0, 0, 0)" && (p.style.backgroundColor = g);
const b = Array.from(y.children)
, M = Array.from(p.children);
for (let _ = 0; _ < Math.min(b.length, M.length); _++)
o.push([b[_], M[_]])
}
}
async function Rm(i, f={}) {
if (!i)
throw new Error("Element cannot be null or undefined");
B.reset();
const {compress: s=!0, embedFonts: o=!1, fast: h=!0, scale: y=1, useProxy: p=""} = f;
let S, g, b = "", M = "", _, q;
if ({clone: S, classCSS: g} = await Am(i, s, o, f),
await new Promise(Y=>{
Ga(async()=>{
await zm(S, f),
Y()
}
, {
fast: h
})
}
),
await new Promise(Y=>{
Ga(async()=>{
await Mm(i, S, f),
Y()
}
, {
fast: h
})
}
),
o && await new Promise(Y=>{
Ga(async()=>{
b = await Em(),
Y()
}
, {
fast: h
})
}
),
s) {
const Y = dm(S).sort()
, K = Y.join(",");
B.baseStyle.has(K) ? M = B.baseStyle.get(K) : await new Promise(V=>{
Ga(()=>{
M = hm(Y),
B.baseStyle.set(K, M),
V()
}
, {
fast: h
})
}
)
}
await new Promise(Y=>{
Ga(()=>{
const K = i.getBoundingClientRect();
let V = K.width
, $ = K.height;
const gt = Number.isFinite(f.width)
, nt = Number.isFinite(f.height)
, ht = typeof y == "number" && y !== 1;
if (!ht) {
const bt = K.width / K.height;
gt && nt ? (V = f.width,
$ = f.height) : gt ? (V = f.width,
$ = V / bt) : nt && ($ = f.height,
V = $ * bt)
}
if (V = Math.ceil(V),
$ = Math.ceil($),
S.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"),
S.style.transformOrigin = "top left",
!ht && (gt || nt)) {
const bt = K.width
, It = K.height
, le = V / bt
, ct = $ / It
, z = S.style.transform || ""
, H = `scale(${le}, ${ct})`;
S.style.transform = `${H} ${z}`.trim()
}
const W = "http://www.w3.org/2000/svg"
, P = document.createElementNS(W, "foreignObject");
P.setAttribute("width", "100%"),
P.setAttribute("height", "100%");
const zt = document.createElement("style");
zt.textContent = M + b + "svg{overflow:visible;}" + g,
P.appendChild(zt),
P.appendChild(S);
const Mt = new XMLSerializer().serializeToString(P);
q = `<svg xmlns="${W}" width="${V}" height="${$}" viewBox="0 0 ${V} ${$}">` + Mt +
"</svg>",
_ = `data:image/svg+xml;charset=utf-8,${encodeURIComponent(q)}`,
Y()
}
, {
fast: h
})
}
);
const G = document.getElementById("snapdom-sandbox");
return G && G.style.position === "absolute" && G.remove(),
_
}
async function Dm(i, {dpr: f=1, scale: s=1}) {
const o = new Image;
return o.src = i,
await o.decode(),
o.width = o.width * s,
o.height = o.height * s,
o
}
async function br(i, {dpr: f=1, scale: s=1}={}) {
const o = new Image;
o.src = i,
o.crossOrigin = "anonymous",
o.loading = "eager",
o.decoding = "sync";
const h = ym();
let y = !1;
if (h && (document.body.appendChild(o),
y = !0),
await o.decode(),
h && await new Promise(M=>setTimeout(M, 100)),
o.width === 0 || o.height === 0)
throw y && o.remove(),
new Error("Image failed to load or has no dimensions");
const p = o.width * s
, S = o.height * s
, g = document.createElement("canvas");
g.width = Math.ceil(p * f),
g.height = Math.ceil(S * f),
g.style.width = `${p}px`,
g.style.height = `${S}px`;
const b = g.getContext("2d");
return b.scale(f, f),
b.drawImage(o, 0, 0, p, S),
y && o.remove(),
g
}
async function vr(i, {type: f="svg", scale: s=1, backgroundColor: o="#fff", quality: h}={}) {
const y = {
jpg: "image/jpeg",
jpeg: "image/jpeg",
png: "image/png",
webp: "image/webp"
}[f] || "image/png";
if (f === "svg") {
const S = decodeURIComponent(i.split(",")[1]);
return new Blob([S],{
type: "image/svg+xml"
})
}
const p = await Ti(i, {
dpr: 1,
scale: s
}, o);
return new Promise(S=>{
p.toBlob(g=>S(g), `${y}`, h)
}
)
}
async function Ti(i, {dpr: f=1, scale: s=1}, o) {
const h = await br(i, {
dpr: f,
scale: s
});
if (!o)
return h;
const y = document.createElement("canvas");
y.width = h.width,
y.height = h.height;
const p = y.getContext("2d");
return p.fillStyle = o,
p.fillRect(0, 0, y.width, y.height),
p.drawImage(h, 0, 0),
y
}
async function Ai(i, {dpr: f=1, scale: s=1, backgroundColor: o, quality: h}, y="png") {
const p = ["jpg", "jpeg", "webp"].includes(y) ? "#fff" : void 0
, g = await Ti(i, {
dpr: f,
scale: s
}, o ?? p)
, b = new Image;
return b.src = g.toDataURL(`image/${y}`, h),
await b.decode(),
b.style.width = `${g.width / f}px`,
b.style.height = `${g.height / f}px`,
b
}
async function Om(i, {dpr: f=1, scale: s=1, backgroundColor: o, format: h="png", filename:
y="snapDOM"}={}) {
if (h === "svg") {
const q = await vr(i)
, G = URL.createObjectURL(q)
, Y = document.createElement("a");
Y.href = G,
Y.download = `${y}.svg`,
Y.click(),
URL.revokeObjectURL(G);
return
}
const p = ["jpg", "jpeg", "webp"].includes(h) ? "#fff" : void 0
, g = await Ti(i, {
dpr: f,
scale: s
}, o ?? p)
, b = {
jpg: "image/jpeg",
jpeg: "image/jpeg",
png: "image/png",
webp: "image/webp"
}[h] || "image/png"
, M = g.toDataURL(b)
, _ = document.createElement("a");
_.href = M,
_.download = `${y}.${h}`,
_.click()
}
async function qt(i, f={}) {
if (f = {
scale: 1,
...f
},
!i)
throw new Error("Element cannot be null or undefined");
return f.iconFonts && Sm(f.iconFonts),
await qt.capture(i, f)
}
qt.capture = async(i,f={})=>{
const s = await Rm(i, f)
, o = window.devicePixelRatio || 1
, h = f.scale || 1;
return {
url: s,
options: f,
toRaw: ()=>s,
toImg: ()=>Dm(s, {
dpr: o,
scale: h
}),
toCanvas: ()=>br(s, {
dpr: o,
scale: h
}),
toBlob: y=>vr(s, {
scale: h,
...y
}),
toPng: y=>Ai(s, {
dpr: o,
scale: h,
...y
}, "png"),
toJpg: y=>Ai(s, {
dpr: o,
scale: h,
...y
}, "jpeg"),
toWebp: y=>Ai(s, {
dpr: o,
scale: h,
...y
}, "webp"),
download: ({format: y="png", filename: p="capture", backgroundColor: S}={})=>Om(s, {
dpr: o,
scale: h,
backgroundColor: S,
format: y,
filename: p
})
}
}
,
qt.toRaw = async(i,f)=>(await qt.capture(i, f)).toRaw(),
qt.toImg = async(i,f)=>(await qt.capture(i, f)).toImg(),
qt.toCanvas = async(i,f)=>(await qt.capture(i, f)).toCanvas(),
qt.toBlob = async(i,f)=>(await qt.capture(i, f)).toBlob(f),
qt.toPng = async(i,f)=>(await qt.capture(i, f)).toPng(f),
qt.toJpg = async(i,f)=>(await qt.capture(i, f)).toJpg(f),
qt.toWebp = async(i,f)=>(await qt.capture(i, f)).toWebp(f),
qt.download = async(i,f={})=>{
const {format: s="png", filename: o="capture", backgroundColor: h, ...y} = f;
return await (await qt.capture(i, y)).download({
format: s,
filename: o,
backgroundColor: h
})
}
;
class _m {
handle(f) {
const s = f.tagName || ""
, o = f.textContent || ""
, h = f.getAttribute("data-loc") || ""
, y = this.getAttrs(f);
return {
tagName: s,
textContent: o,
jsxLoc: h,
attrs: y
}
}
async getScreenshot(f) {
try {
const s = this.cloneElement(f)
, o = await qt(s, {
embedFonts: !0
});
return s.remove(),
await this.compressImage(o.url)
} catch (s) {
return console.warn("截图失败:", s),
null
}
}
getAttrs(f) {
const s = f.getAttribute("class")
, o = f.getAttribute("id")
, h = f.getAttribute("src")
, y = f.getAttribute("href")
, p = f.getAttribute("placeholder")
, S = {};
return s && (S.className = s),
o && (S.id = o),
h && (S.src = h),
y && (S.href = y),
p && (S.placeholder = p),
S
}
async compressImage(f) {
return new Promise(s=>{
const o = new Image;
o.onload = ()=>{
const h = document.createElement("canvas")
, y = h.getContext("2d");
if (!y) {
s(f);
return
}
const p = 2048
, S = 2048;
let {width: g, height: b} = o;
if (g > p || b > S) {
const _ = p / g
, q = S / b
, G = Math.min(_, q);
g = Math.floor(g * G),
b = Math.floor(b * G)
}
h.width = g,
h.height = b,
y.drawImage(o, 0, 0, g, b);
const M = h.toDataURL("image/webp");
s(M)
}
,
o.onerror = ()=>{
s(f)
}
,
o.src = f
}
)
}
getActualBackgroundColor(f) {
if (!f)
return "rgb(255, 255, 255)";
const s = window.getComputedStyle(f).backgroundColor;
return s !== "rgba(0, 0, 0, 0)" && s !== "transparent" ? s : f === document.body || f ===
document.documentElement ? "rgb(255, 255, 255)" : f.parentElement ?
this.getActualBackgroundColor(f.parentElement) : "rgb(255, 255, 255)"
}
cloneElement(f) {
const s = f.cloneNode(!0);
document.body.appendChild(s),
s.style.position = "absolute",
s.style.top = "-10000px",
s.style.left = "-10000px",
s.style.zIndex = "999999",
s.style.pointerEvents = "none",
wr.clearMarkerAttrs(s),
s.style.transition = "none",
s.style.animation = "none",
s.style.transform = "none",
s.style.transformOrigin = "none",
s.style.opacity = "1",
s.style.filter = "none",
s.style.boxShadow = "none",
s.style.border = "none",
s.style.borderRadius = "0";
const o = f.clientWidth
, h = f.clientHeight;
s.style.width = `${o}px`,
s.style.height = `${h}px`,
s.style.maxWidth = `${o}px`,
s.style.maxHeight = `${h}px`;
const y = this.getActualBackgroundColor(f);
return s.style.backgroundColor = y,
s
}
}
const Sr = new _m;
function Cm(i) {
const f = pe.useRef(null)
, s = pe.useRef(null)
, [o,h] = pe.useState("")
, [y,p] = pe.useState(0)
, [S,g] = pe.useState(0)
, [b,M] = pe.useState(!1)
, _ = Wl(()=>{
if (!o.trim())
return;
const V = Sr.handle(i.targetElement);
qa.sendMessage({
type: "chat",
to: "container",
payload: {
...V,
userInput: o
}
}),
i.onDisposed()
}
)
, {onCompositionEnd: q, onCompositionStart: G, onKeyDown: Y} = om({
onKeyDown: V=>{
V.key === "Enter" && !V.shiftKey && !V.ctrlKey ? _() : V.key === "Escape" &&
i.onDisposed()
}
})
, K = Wl(()=>{
if (!f.current)
return;
const V = i.targetElement.getBoundingClientRect()
, $ = f.current.getBoundingClientRect()
, gt = window.innerWidth
, nt = window.innerHeight
, ht = 8;
let W = V.left + (V.width - $.width) / 2;
W + $.width > gt && (W = V.right - $.width),
W < 0 && (W = 12);
let P = V.bottom + ht;
const zt = P + $.height > nt
, Z = V.top - $.height - ht < 0;
zt && Z ? (P = i.mouseEvent.clientY + ht,
P + $.height > nt && (P = i.mouseEvent.clientY - $.height - ht),
P < 0 && (P = 12)) : zt && (P = V.top - $.height - ht),
p(W),
g(P),
M(!0),
setTimeout(()=>{
s.current?.focus({
preventScroll: !0
})
}
)
}
);
return pe.useEffect(()=>{
const V = ()=>{
K()
}
, $ = nt=>{
nt.key === "Escape" && i.onDisposed()
}
, gt = ()=>{
i.onDisposed()
}
;
return K(),
window.addEventListener("resize", V),
window.addEventListener("scroll", gt),
document.addEventListener("keydown", $),
window.requestIdleCallback(()=>{
Sr.getScreenshot(i.targetElement).then(nt=>{
nt && (console.log({
res: nt
}),
qa.sendMessage({
type: "screenshot",
to: "container",
payload: {
base64: nt
}
}))
}
)
}
),
()=>{
window.removeEventListener("resize", V),
window.removeEventListener("scroll", gt),
document.removeEventListener("keydown", $)
}
}
, []),
Ce.jsx("div", {
"data-loc": "src/modules/DomSelector/SelectorInput.tsx:144",
className: "fixed left-0 right-0 top-0 bottom-0",
onMouseDown: ()=>{
i.onDisposed()
}
,
children: Ce.jsxs("div", {
"data-loc": "src/modules/DomSelector/SelectorInput.tsx:151",
onMouseDown: V=>V.stopPropagation(),
ref: f,
className: yi.cn("flex pt-2.5 pr-2.5 pb-2.5 pl-3 gap-2.5 absolute items-center w-[400px]",
"rounded-[16px] border-[0.5px] border-[var(--border-dark)] bg-[var(--background-menu-
white)] shadow-[0_4px_11px_0_var(--shadow-S)]"),
style: {
left: y,
top: S,
opacity: b ? 1 : 0
},
children: [Ce.jsx("input", {
"data-loc": "src/modules/DomSelector/SelectorInput.tsx:165",
ref: s,
type: "text",
className: yi.cn("flex-1 min-w-0 text-[var(--text-disable)] text-sm leading-[22px] outline-
none border-none bg-transparent", o && "text-[var(--text-primary)]"),
value: o,
onChange: V=>h(V.target.value),
onCompositionStart: G,
onCompositionEnd: q,
onKeyDown: Y,
placeholder: "Ask for quick changes..."
}), Ce.jsx("div", {
"data-loc": "src/modules/DomSelector/SelectorInput.tsx:180",
className: yi.cn("flex flex-col justify-center items-center gap-2.5", "size-8 rounded-[100px]
bg-[var(--fill-tsp-white-dark)] text-[var(--icon-disable)]", "transition-all duration-200", o ?
"cursor-pointer hover:opacity-80 bg-[var(--icon-primary)] text-[var(--icon-white)]" : "cursor-
not-allowed"),
onClick: ()=>{
o.trim() && _()
}
,
children: Ce.jsx(rm, {
"data-loc": "src/modules/DomSelector/SelectorInput.tsx:195"
})
})]
})
})
}
const Um = Fo.createOpener(Cm, {
singleton: !0
});
let Nm = class {
activeTarget = null;
pointerDown = !1;
disposeSelectorInput = ()=>{}
;
markerAttrs = {
hovered: "manus-selector-hovered",
clicked: "manus-selector-clicked",
staticHovered: "manus-selector-static-hovered",
staticClicked: "manus-selector-static-clicked"
};
init() {
Promise.resolve().then(()=>Bm).then(({default: f})=>{
const s = document.createElement("style");
s.textContent = f,
document.head.appendChild(s)
}
),
qa.listenMessage({
type: "enableEditMode",
callback: ()=>{
this.enable()
}
}),
qa.listenMessage({
type: "disableEditMode",
callback: ()=>{
this.disable(),
this.cancel(),
this.disposeSelectorInput()
}
})
}
enable() {
document.addEventListener("pointerover", this.handlePointerOver),
document.addEventListener("pointerdown", this.handlePointerDown)
}
disable() {
document.removeEventListener("pointerover", this.handlePointerOver),
document.removeEventListener("pointerdown", this.handlePointerDown)
}
cancel() {
this.activeTarget && (this.clearMarkerAttrs(this.activeTarget),
this.activeTarget = null),
this.pointerDown = !1
}
clearMarkerAttrs(f) {
const s = Object.values(this.markerAttrs);
for (const o of s)
f.hasAttribute(o) && f.removeAttribute(o)
}
handlePointerOver = f=>{
if (this.pointerDown)
return;
const s = f.target;
this.isHTMLElement(s) && (this.isIgnoredElement(s) || (this.activeTarget &&
this.clearMarkerAttrs(this.activeTarget),
this.activeTarget = s,
this.clearMarkerAttrs(this.activeTarget),
this.setMarkerAttr(this.activeTarget, this.isStaticPositionedElement(s) ?
this.markerAttrs.staticHovered : this.markerAttrs.hovered)))
}
;
handlePointerDown = f=>{
if (!this.activeTarget || this.pointerDown || this.isIgnoredElement(this.activeTarget))
return;
this.pointerDown = !0,
this.clearMarkerAttrs(this.activeTarget),
this.setMarkerAttr(this.activeTarget, this.isStaticPositionedElement(this.activeTarget) ?
this.markerAttrs.staticClicked : this.markerAttrs.clicked);
const s = Um({
targetElement: this.activeTarget,
mouseEvent: f,
onDisposed: ()=>{
this.cancel()
}
});
this.disposeSelectorInput = ()=>{
s?.dispose()
}
}
;
setMarkerAttr(f, s) {
f.setAttribute(s, "")
}
isIgnoredElement(f) {
const s = f.tagName;
return !!new Set(["SCRIPT", "STYLE"]).has(s)
}
isStaticPositionedElement(f) {
return window.getComputedStyle(f).position === "static"
}
isHTMLElement(f) {
return !!f && f instanceof HTMLElement
}
}
;
const wr = new Nm;
class Hm {
constructor() {
this.init()
}
async init() {
console.log("init v1"),
qa.init({
currentEndpoint: "content"
}),
wr.init(),
await this.renderRoot()
}
async renderRoot() {
if (document.getElementById(ri.root))
return;
const s = document.createElement("div");
s.id = ri.root,
document.documentElement.appendChild(s);
const o = s.attachShadow({
mode: "closed"
})
, h = document.createElement("style")
, y = await Promise.resolve().then(()=>km).then(p=>p.default);
h.textContent = y,
o.appendChild(h),
Wo.createRoot(o).render(Ce.jsx(Ah, {
"data-loc": "src/main.tsx:36"
}))
}
}
new Hm;
const Bm = Object.freeze(Object.defineProperty({
__proto__: null,
default: '[manus-selector-hovered]{cursor:text!important}[manus-selector-static-
hovered]{position:relative;cursor:text!important}[manus-selector-hovered]:before,[manus-
selector-static-
hovered]:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;border-
radius:2px;outline:1px dashed #0081f2!important;outline-offset:0px!important;background-
color:#0da2e71a!important;z-index:99998;pointer-events:none}[manus-selector-static-
clicked]{position:relative}[manus-selector-clicked]:before,[manus-selector-static-
clicked]:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;border-
radius:2px;outline:1px dashed #0081f2!important;outline-offset:0px!important;z-
index:99998;pointer-events:none}'
}, Symbol.toStringTag, {
value: "Module"
}))
, km = Object.freeze(Object.defineProperty({
__proto__: null,
default: '#manus-previewer-content-root{--background-gray-login: #f8f8f7;--background-
selection: #b8d3f8;--background-tool-used: linear-gradient( 176deg, rgba(255, 255, 255, 0)
5.88%, rgba(255, 255, 255, .6) 51.28%, rgba(255, 255, 255, 0) 94.95% );--background-drag-
overlay: #ffffff80;--background-thinking: linear-gradient( 90deg, var(--text-primary) 0%,
#d9d8d8 50.48%, var(--text-primary) 99.04% );--background-app-banner: linear-
gradient(180deg, #f7f7f7 0%, #ececec 100%);--background-share-header: linear-gradient(
0deg, rgba(248, 248, 247, 0) 0%, #f8f8f7 45.05% );--text-primary: #34322d;--text-secondary:
#5e5e5b;--text-tertiary: #858481;--text-disable: #b9b9b7;--text-blue: #0081f2;--text-onblack:
#ffffff;--text-white: #ffffff;--text-white-tsp: #ffffff99;--theme-text-primary: #262626;--logo-
color: #34322d;--text-shining: #e5e5e5;--background-gray-main: #f8f8f7;--background-
white-main: #ffffff;--background-menu-white: #ffffff;--background-tsp-menu-white:
#ffffff14;--background-tsp-card-gray: #37352f0a;--background-nav: #ebebeb;--background-
card: #fafafa;--background-mask: #000000a6;--background-card-gray: #fafafa;--background-
preview-mask: #000000d9;--border-main: #0000000f;--border-white: #ffffff33;--border-btn-
main: #0000001f;--border-input-active: #0081f280;--border-light: #0000000a;--border-dark:
#0000001f;--border-primary: #4f59661f;--icon-primary: #34322d;--icon-secondary:
#5e5e5b;--icon-tertiary: #858481;--icon-disable: #b9b9b7;--icon-blue: #0081f2;--icon-
onblack: #ffffff;--icon-white: #ffffff;--icon-white-tsp: #ffffff99;--function-error: #f25a5a;--
function-success: #25ba3b;--function-warning: #efa201;--function-error-tsp: #f25a5a14;--
function-warning-tsp: #efa2011f;--fill-blue: #0081f214;--fill-tsp-white-main: #37352f0f;--fill-
tsp-white-dark: #37352f14;--fill-tsp-white-light: #37352f0a;--fill-tsp-gray-dark: #37352f14;--
fill-tsp-gray-main: #37352f0a;--fill-white: #ffffff;--fill-black: #28282973;--fill-gray: #f8f8f7;-
-Button-primary-black: #1a1a19;--Button-primary-white: #ffffff;--Button-primary-brand:
#0081f2;--Button-primary-brand-disabled: #7cbdf5;--Button-secondary-brand: #0081f21a;--
Button-secondary-error-border: #f25a5a80;--Button-secondary-error-fill: #ffffff;--Button-
secondary-main: #ffffff;--Button-secondary-gray: #37352f0f;--tab-fill: rgba(0, 0, 0, .04);--tab-
active-black: #1a1a19;--shadow-L: #0000003d;--shadow-M: #0000001f;--shadow-S:
#00000014;--shadow-XS: #0000000f;--shadows-inner-0: #ffffff00;--shadows-inner-1:
#16191d14;--shadows-inner-2: #16191d1f;--shadows-drop-1: #16191d08;--shadows-drop-2:
#16191d0a;--shadows-drop-3: #16191d14;--shadows-drop-4: #16191d1f;--shadows-highlight-
1: #cce5ff;--shadows-highlight-2: #1487fa;--shadows-danger-1: #fed7d7;--shadows-danger-2:
#ee3a3a;--shadows-card-border: #16191d1f;--shadows-card-border-2: #16191d1f;--Tooltips-
main: #000000e6;--gradual-white-0: #ffffff00;--gradual-gray-100: #ffffff00;--gradual-gray-0:
#ffffff00;--gradual-dark-20: #00000033;--fill-input-chat: #ffffff;--gradient-bg-mask-gray-0:
#eaeaeb00}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-
x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-
y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-
gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal:
;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--
tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59
130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0
0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-
grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-
backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale:
;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-
saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--
tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-
translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;-
-tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:
proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position:
;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-
fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-
color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--
tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-
contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-
shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-
backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-
opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-
layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-
box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content:
""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-
size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI
Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-
settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-
height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-
text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-
size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-
weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-
Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-
settings:normal;font-variation-settings:normal;font-size:1em}small{font-
size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-
align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-
color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-
family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-
weight:inherit;line-height:inherit;letter-
spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-
transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([ty
pe=submit]){-webkit-appearance:button;background-color:transparent;background-
image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-
shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-
spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-
webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-
appearance:button;font:inherit}summary{display:list-
item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding
:0}legend{padding:0}ol,ul,menu{list-
style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-
placeholder,textarea::-moz-
placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color
:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,
audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-
width:100%;height:auto}[hidden]:where(:not([hidden=until-
found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-
width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-
width: 1024px){.container{max-width:1024px}}@media (min-width:
1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-
width:1536px}}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relat
ive{position:relative}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.z-
\\[999999\\]{z-
index:999999}.block{display:block}.inline{display:inline}.flex{display:flex}.grid{display:gr
id}.list-item{display:list-item}.hidden{display:none}.size-8{width:2rem;height:2rem}.w-
\\[400px\\]{width:400px}.min-w-0{min-width:0px}.flex-1{flex:1 1
0%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-
rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x))
scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-
pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.items-
center{align-items:center}.justify-center{justify-content:center}.gap-
2\\.5{gap:.625rem}.rounded-\\[100px\\]{border-radius:100px}.rounded-\\[16px\\]{border-
radius:16px}.border{border-width:1px}.border-\\[0\\.5px\\]{border-width:.5px}.border-
none{border-style:none}.border-\\[var\\(--border-dark\\)\\]{border-color:var(--border-
dark)}.bg-\\[var\\(--background-menu-white\\)\\]{background-color:var(--background-menu-
white)}.bg-\\[var\\(--fill-tsp-white-dark\\)\\]{background-color:var(--fill-tsp-white-dark)}.bg-
\\[var\\(--icon-primary\\)\\]{background-color:var(--icon-primary)}.bg-
transparent{background-color:transparent}.pb-2\\.5{padding-bottom:.625rem}.pl-3{padding-
left:.75rem}.pr-2\\.5{padding-right:.625rem}.pt-2\\.5{padding-top:.625rem}.text-sm{font-
size:.875rem;line-height:1.25rem}.leading-\\[22px\\]{line-height:22px}.text-\\[var\\(--icon-
disable\\)\\]{color:var(--icon-disable)}.text-\\[var\\(--icon-white\\)\\]{color:var(--icon-
white)}.text-\\[var\\(--text-disable\\)\\]{color:var(--text-disable)}.text-\\[var\\(--text-
primary\\)\\]{color:var(--text-primary)}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0
1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px
2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--
tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0_4px_11px_0_var\\(--shadow-
S\\)\\]{--tw-shadow: 0 4px 11px 0 var(--shadow-S);--tw-shadow-colored: 0 4px 11px 0 var(--
tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow,
0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-
offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-
grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-
drop-shadow)}.transition{transition-property:color,background-color,border-color,text-
decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-
filter;transition-property:color,background-color,border-color,text-decoration-
color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-
property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-
shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-
function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-
property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-
duration:.15s}.duration-200{transition-duration:.2s}*{box-sizing:border-
box;outline:none;margin:0;padding:0}#manus-previewer-content-root{font-family:-apple-
system,BlinkMacSystemFont,Segoe UI Variable Display,Segoe UI,Helvetica,"Apple Color
Emoji",Arial,sans-serif,"Segoe UI Emoji",Segoe UI Symbol}::-webkit-scrollbar-
thumb{background-color:transparent;cursor:pointer}:hover::-webkit-scrollbar-
thumb{background-color:var(#b9b9b7)}::-webkit-scrollbar-thumb:hover{background-
color:var(#858481)}::-webkit-scrollbar-track{background-color:transparent}*{scrollbar-
width:thin;scrollbar-color:transparent transparent}*:hover{scrollbar-color:var(#b9b9b7)
transparent}.hover\\:opacity-80:hover{opacity:.8}'
}, Symbol.toStringTag, {
value: "Module"
}))
}
)();
</script>
</body></html>